alex.components.asr package


alex.components.asr.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.asr.base module

alex.components.asr.common module

alex.components.asr.common.asr_factory(cfg, asr_type=None)[source]

Returns instance of specified ASR decoder in asr_type.

The ASR decoders are imported on the fly, because they need external non Python libraries.


Reads the ASR type from the configuration.

alex.components.asr.exceptions module

exception alex.components.asr.exceptions.ASRException[source]

Bases: alex.AlexException

exception alex.components.asr.exceptions.JuliusASRException[source]

Bases: alex.components.asr.exceptions.ASRException

exception alex.components.asr.exceptions.JuliusASRTimeoutException[source]

Bases: alex.components.asr.exceptions.ASRException

exception alex.components.asr.exceptions.KaldiASRException[source]

Bases: alex.components.asr.exceptions.ASRException

exception alex.components.asr.exceptions.KaldiSetupException[source]

Bases: alex.components.asr.exceptions.KaldiASRException module

alex.components.asr.pykaldi module

alex.components.asr.test_utterance module

alex.components.asr.utterance module

Module contents