# Is there a way to condense machine-captured words into paragraphs rather than having to individually do it by hand?

**URL:** <https://boards.straightdope.com/t/is-there-a-way-to-condense-machine-captured-words-into-paragraphs-rather-than-having-to-individually-do-it-by-hand/982774>\
**Category:** Factual Questions\
**Created:** [April 17, 2023, 6:32am UTC](https://boards.straightdope.com/t/is-there-a-way-to-condense-machine-captured-words-into-paragraphs-rather-than-having-to-individually-do-it-by-hand/982774 "2023-04-17T06:32:56Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Velocity](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/velocity/32/18006_2.png) [@Velocity](https://boards.straightdope.com/u/Velocity)\
**Post date:** [April 17, 2023, 6:32am UTC](https://boards.straightdope.com/t/is-there-a-way-to-condense-machine-captured-words-into-paragraphs-rather-than-having-to-individually-do-it-by-hand/982774/1 "2023-04-17T06:32:56Z")

</div>

Been doing some freelance paid work, which involves transcribing YouTube speeches into edited paragraphs. (AI will surely take this job at some point, but for now isn’t accurate enough, especially when speakers have thick accents or use unusual vocabulary.)

YouTube already has a machine-to-text transcript function. The problem is, 90% of my work involves condensing it from many short lines into a solid paragraph.

Giving one example: Suppose the speaker says, _“Healthcare is really screwed up in America. I had to pay $17,000 for an appendectomy, and that was with insurance. Can you imagine what it would be like if I were uninsured?”_

The YouTube function captures it like this:

_00:01 Healthcare is really_  
\*00:02 screwed up in \*  
_00:03 America I had_  
_00:04 to pay 17000_  
_00:05 for an_  
\*00:06 appendectomy and \*  
_00:07 that was with_  
_00:08 insurance_  
_00:09 can you imagine_  
_00:10 what it would_  
_00:11 be like if_  
_00:12 I were uninsured_

So, the vast majority of my work involves backspacing and re-arranging until it’s a proper paragraph - _“Healthcare is really screwed up in America. I had to pay $17,000 for an appendectomy, and that was with insurance. Can you imagine what it would be like if I were uninsured?”_

I’m hoping there is some simpler automatic or quick-shortcut way to get this done rather than endless manual backspacing, especially since I may have to handle 4,000 - 7,000 words on some days. Anyone know of any tricks to automatically “paragraph-ize” a bunch of words?

---

<div class="post-metadata">

**Author:** ![Darren\_Garrison](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/darren_garrison/32/92_2.png) [@Darren\_Garrison](https://boards.straightdope.com/u/Darren_Garrison)\
**Post date:** [April 17, 2023, 8:27am UTC](https://boards.straightdope.com/t/is-there-a-way-to-condense-machine-captured-words-into-paragraphs-rather-than-having-to-individually-do-it-by-hand/982774/2 "2023-04-17T08:27:24Z")

</div>

How about this?

> **[How to Find and Replace Numbers or Digits in MS Word](https://techwelkin.com/ms-word-how-to-find-and-replace-numbers-digits-numerals)**
>
> Learn how to find and replace numbers, digits, numerals in Word document. You can search for numbers or range of numbers and replace them with anything.

---

<div class="post-metadata">

**Author:** ![dirtball](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/dirtball/32/18772_2.png) [@dirtball](https://boards.straightdope.com/u/dirtball)\
**Post date:** [April 17, 2023, 10:07am UTC](https://boards.straightdope.com/t/is-there-a-way-to-condense-machine-captured-words-into-paragraphs-rather-than-having-to-individually-do-it-by-hand/982774/3 "2023-04-17T10:07:13Z")

</div>

To expand on that general idea a bit, since the stuff you want to delete will always be in the same format at the beginning of a paragraph, you could search for this:

**^p^#^#:^#^#**

and replace it with nothing. The **^p** represents the paragraph marker at the end of the previous paragraph. The **^#** represents any single numeral, and the **:** is, of course, literally the colon in the middle of the numbers. Do a “replace all,” and they’re gone pretty much instantly, and you’ll end up with everything in one big paragraph. Then you’ll have to go back through it and “reparagraph” where necessary (or if necessary), but I wouldn’t expect that to be nearly as odious a task as deleting all that stuff manually.

And if some of the lines start with an asterisk, as we see in your example, do a second find-and-replace, adding an asterisk between the **^p** and the first numeral.

This assumes the text won’t have anything in that same time-stamp format that should be kept.

---

<div class="post-metadata">

**Author:** ![Velocity](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/velocity/32/18006_2.png) [@Velocity](https://boards.straightdope.com/u/Velocity)\
**Post date:** [April 17, 2023, 10:19am UTC](https://boards.straightdope.com/t/is-there-a-way-to-condense-machine-captured-words-into-paragraphs-rather-than-having-to-individually-do-it-by-hand/982774/4 "2023-04-17T10:19:28Z")

</div>

This sounds like genius, but I’m not fully sure what you mean. Do you mean Microsoft Word, using the Search/Replace functions? I tried that but it only reads words literally, like, literally ^p^#^#:^#^# , so I’m sure I am misunderstanding…

---

<div class="post-metadata">

**Author:** ![dirtball](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/dirtball/32/18772_2.png) [@dirtball](https://boards.straightdope.com/u/dirtball)\
**Post date:** [April 17, 2023, 10:34am UTC](https://boards.straightdope.com/t/is-there-a-way-to-condense-machine-captured-words-into-paragraphs-rather-than-having-to-individually-do-it-by-hand/982774/5 "2023-04-17T10:34:41Z")

</div>

Yes, it’s the standard search and replace function in Word. You should be able to just copy and paste that line of codes into Word’s search box, click Replace All, and Bob’s your uncle.

If it doesn’t work, there’s one modification I would suggest. Instead of the usual **^p** code to search for a hard return (this is what you get when you hit the Enter key), try **^l** for a soft return (you get this if you hit Shift-Enter). The difference is that the latter starts a new line of text, but Word treats it as a continuation of the previous paragraph.

---

<div class="post-metadata">

**Author:** ![Velocity](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/velocity/32/18006_2.png) [@Velocity](https://boards.straightdope.com/u/Velocity)\
**Post date:** [April 17, 2023, 10:40am UTC](https://boards.straightdope.com/t/is-there-a-way-to-condense-machine-captured-words-into-paragraphs-rather-than-having-to-individually-do-it-by-hand/982774/6 "2023-04-17T10:40:53Z")

</div>

Aha, that did work! Thanks. The P didn’t but the I did.

---

<div class="post-metadata">

**Author:** ![dirtball](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/dirtball/32/18772_2.png) [@dirtball](https://boards.straightdope.com/u/dirtball)\
**Post date:** [April 17, 2023, 10:43am UTC](https://boards.straightdope.com/t/is-there-a-way-to-condense-machine-captured-words-into-paragraphs-rather-than-having-to-individually-do-it-by-hand/982774/7 "2023-04-17T10:43:18Z")

</div>

Glad to be of help!

---

<div class="post-metadata">

**Author:** ![DPRK](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@DPRK](https://boards.straightdope.com/u/DPRK)\
**Post date:** [April 17, 2023, 11:08am UTC](https://boards.straightdope.com/t/is-there-a-way-to-condense-machine-captured-words-into-paragraphs-rather-than-having-to-individually-do-it-by-hand/982774/8 "2023-04-17T11:08:50Z")

</div>

I see you already found a solution!

I was going to say that I would be using macros to repeat certain commands over and over again. Personally, I would use a text editor to edit text files, not Word (but I realize that at some point you just use what you already know to work). E.g., in “vim” typing `vip:norm ^dW` will delete those `00:03` timestamps from the beginning of a block of lines, and `vipJ` will join the lines. Obviously you would assign such commands to macros so as not to type them out each time.

---

<div class="post-metadata">

**Author:** ![pulykamell](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/pulykamell/32/3166_2.png) [@pulykamell](https://boards.straightdope.com/u/pulykamell)\
**Post date:** [April 17, 2023, 12:10pm UTC](https://boards.straightdope.com/t/is-there-a-way-to-condense-machine-captured-words-into-paragraphs-rather-than-having-to-individually-do-it-by-hand/982774/9 "2023-04-17T12:10:12Z")

</div>

> [@Velocity](#):
>
> AI will surely take this job at some point

Better to do it in Word, but ChatGPT did handle the formatting of your example fine when I asked it to remove timestamps and present it as a paragraph. In case you need another option.

---

<div class="post-metadata">

**Author:** ![Velocity](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/velocity/32/18006_2.png) [@Velocity](https://boards.straightdope.com/u/Velocity)\
**Post date:** [April 17, 2023, 12:15pm UTC](https://boards.straightdope.com/t/is-there-a-way-to-condense-machine-captured-words-into-paragraphs-rather-than-having-to-individually-do-it-by-hand/982774/10 "2023-04-17T12:15:00Z")

</div>

Thanks. I tried it out and it worked as you advertised. I’m sure ChatGPT has a text limit but I think i can spit long columns into it now, great.
