alex.components.tts package


alex.components.tts.autopath module

self cloning, automatic path configuration

copy this into any subdirectory of pypy from which scripts need to be run, typically all of the test subdirs. The idea is that any such script simply issues

import autopath

and this will make sure that the parent directory containing “pypy” is in sys.path.

If you modify the master “” version (in pypy/tool/ you can directly run it which will copy itself on all files it finds under the pypy root directory.

This module always provides these attributes:

pypydir pypy root directory path this_dir directory where this resides

alex.components.tts.base module

class alex.components.tts.base.TTSInterface(cfg)[source]

Bases: object


alex.components.tts.common module

alex.components.tts.exceptions module

exception alex.components.tts.exceptions.TTSException[source]

Bases: alex.AlexException

alex.components.tts.flite module module

alex.components.tts.preprocessing module

class alex.components.tts.preprocessing.TTSPreprocessing(cfg, file_name)[source]

Bases: object

Preprocess words that are hard to pronounce for the current TTS engine.


Applies all substitutions on the input text and returns the result.

class alex.components.tts.preprocessing.TTSPreprocessingException[source]

Bases: object

alex.components.tts.speechtech module

alex.components.tts.test_google module

alex.components.tts.test_voicerss module

alex.components.tts.voicerss module

Module contents