aedocw / epub2tts

Turn an epub or text file into an audiobook
Apache License 2.0
433 stars 43 forks source link

Character stripping/cleanup does not seem to be working #154

Closed aedocw closed 6 months ago

aedocw commented 6 months ago

One book had "◇ ◇ ◇", which should have been dropped, and smart quotes that are not getting replaced.

There was also this, note the last two sentences that are just punctuation:

 > Text splitted to sentences.
["Where's this sudden motivation coming from?", "What's going on?", '!', '”', 

Another book sent this to TTS, where the ellipses should have been caught and removed:

but . . . . [sigh]