caiwan / txt2mp3

Uses Google TTS to read up a long text file splitting up to pieces

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

txt2mp3

Quick and dirty tool to convert longer texts to mp3 using Google TTS

Installing

In your own enviroment issue the following commands:

pip install -r requirements.txt
python setup.py build
python setup.py install

Usage

python -m txt2mp3 -i input.txt -o output.txt

Use -h for print internal help.

Know issues

  • Setup script should be able to install requirements
  • Lack of preprocessing and tokenizing support
  • Sentence and section splitting may be broken
  • Does not support ripping off segmenting elements such as line of --- and ===

About

Uses Google TTS to read up a long text file splitting up to pieces


Languages

Language:Python 100.0%