internetarchive / internetarchive/bookreader
TTS reads out symbols
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 491
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 3
Description
**Description**
The TTS in book reader often speaks out certain symbols, which are not even there in the book, also most of the TTS aren't supposed to speak out symbols because they act as a break in the flow for listeners.
**Evidence / Screenshot (if possible)**




**Context**
For eg. " * * Go away yourself " is pronounced as "asterisks asterisks Go away yourself ". This happens due to wrong OCR interpretations.
Cleaning up these symbols would help make the TTS a little more precise and fluent while speaking out the text.
**Proposal & Constraints**
The plan is to trim these false generated symbols using regular expressions.
``string = string.replace(/[@\/\\#+-$~%:*?<>{}]/g, ' ');``
Contributor guide
Assessment
This issue has not been assessed yet.