I can't understand why there aren't simple post processors to process the text. Take the text output and join the lines together unless they end in a full stop, a question mark or a double quote.
You may need to remove page numbers if present and any chapter titles that appear at the top of each page. I managed to get this far but then found there were various funny characters in the text to represent double ll's etc and these need to be converted.
My aim was to finally generate HTML and then use the chapter titles to create a TOC. I got halfway there

but considering how clever tools like Calibre are, it surprised me that this wasn't done automatically.