How do I merge words into sentences when the words are incorrectly split up?

Is there a way to merge words that should appear together due to proximity, but for whatever reason they appear apart? Like when sentences or sentence fragments are split up, but should really be together.

Hi, the configurable Merge Lines preprocessor is what you’re looking for. It corrects oversplit lines, turning this:

into this:

(cross posted from Slack by admin)