You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checking a few books that have references and citation links (to other parts of the book) do not process properly. The citation links are each read first, and then none of the text on the chapter is converted.
Did some more digging running with debug mode and text output, and noted that the spoken text is preceded by the code '@brk#'. So, just as a test added a global replace for this phrase and now the file is properly processed.
So on file pub_book_parser.py, added the code below on line 68 -
# replace break characters with a newline.
cleaned_text = re.sub(r'@BRK#' , '\n' , cleaned_text)
So far all the testing is working for me across many files.
Checking a few books that have references and citation links (to other parts of the book) do not process properly. The citation links are each read first, and then none of the text on the chapter is converted.
I have included a sample open source pub that shows the issue.
georgia-pls-ssml.epub.zip
Suspect this is an issue with the public library OR how being called but beyond my programming abilities.
The text was updated successfully, but these errors were encountered: