mocobeta commented on issue #1: URL: https://github.com/apache/lucene-jira-archive/issues/1#issuecomment-1171316604
Looks like the converter library does not support Carriage Return `\r` and succeeding spaces after Line Feed `\n` and that causes the conversion errors. This quick fix in pre-processing may solve many conversion errors. ``` text = re.sub(r"\r\n\s*", "\n", text) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org