TTS Ebook Preprocessing Tool #671
Replies: 4 comments 5 replies
-
I would like to give it a test run. |
Beta Was this translation helpful? Give feedback.
-
good intention to make things easier to convert to an audiobook!
|
Beta Was this translation helpful? Give feedback.
-
https://github.com/danneauxs/TTS_ebook_preprocessing This is my first git and really one of only a few programs I've written. Be kind. |
Beta Was this translation helpful? Give feedback.
-
New repository - revamp of old code. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've written a program that allows me to preprocess an ebook.
https://github.com/danneauxs/TTS_ebook_preprocessing/tree/main
It converts Roman numerals to normal numerals.
I fixes anacronyms - some should be spoken and others spelled out. ie CEO and NASA one is is C.E.O. and the other is said as a word nasa.
Pagination is automatically removed so you don't have to listen to page numers.
There's a data file with defined sections. One allows you to add word for spelling replacements burger -> bergur is done automatically. When I listen to a book I keep a note on my phone of words that TTS seems to have trouble pronoucing. Another section contains Heteronyms. The program will interactively display the text and allow you choose different spellings of the word to be replaced in the text for proper pronouciaiton. So, with read you are given the choice of reed or red.
The program also converts everything to lower case. That may not be needed with eb2ab but some of the other TTS had severe issues when authors TYPED IN ALL CAPS FOR EMPHESIS.
It does a bit more. This was orginally started when i was using Edge TTS, then Koroko. Some of the substitutions are irrelivent in eb2ab but they don't hurt anything.
Anyone wanting to give it a try let me know. Just be aware, AI wrote the code, I just kept bugging it to get it right until it worked.
Beta Was this translation helpful? Give feedback.
All reactions