deangelisdf / write2audiobook

A powerful tool designed to convert text-based documents into engaging audiobooks. Perfect for anyone looking to make reading more accessible, whether for people with visual impairments or for those who simply prefer listening on the go.
MIT License
2 stars 4 forks source link

(Pre-analysis) (ebook/docx) Remove reference in book. #13

Open deangelisdf opened 2 months ago

deangelisdf commented 2 months ago

In many book is possible to find link to reference, but the reading of those numbers or phrase is not natural in a lecture section.

In all scripts exist a method used to extract chapter text, the analysis required here need to take this text as input and remove possible reference. Most of times a reference Is defined with following syntax [1] where 1 is the reference. Reference examples:

Desiderable: add an optional flag to remove the references from text.