Change paragraph splitting in OCR

Paragraphs are now split by two or more newlines, and the rest of the newlines are removed from the text