Reformatting text

The LingQ AI doesn’t upload the text in sentences. Even if three are periods in the text that I’m copying and pasting the LingQ AI starts the sentences in random places.

I use chatgpt to reformat but now I’m trying to read novels and there are copyright laws.

How do y’all format your text?

Does your original text have Newline break in middle of sentences ?

You can use calibre or notepad++ to view and remove them.

Below is a page copy and pasted from a book with CR or newline inside sentences. LingQ will treat each linebreak as end of sentence,


Below is what that book epub html looks like inside calibre.

A quick search and replace could fix it but the challenge is to preserve the paragraphs, (assuming you want to keep the paragraphs). You will need to do some search and replace gymnastics to fix it.

You can try asking ChatGPT AI to help you create a Regex Search and replace code to do the fix. I think the idea would be to remove all the CR without a Fullstop/period or ” before it.

1 Like

You’re basically speaking a language I don’t understand. Computers aren’t my forte. I tried finding either of those on my tab and couldn’t. Must I have an actual computer with operating system to use this strategy?

no problem. Should have thought of this earlier.
Easiest solution i think if you have chatGPT (might need a paid version for processing alot of text). Ask AI to remove linebreaks from your text but keep the paragraphing.

Original text below.

The result of ChatGPT fix.