alex.applications.PublicTransportInfoCS.slu package¶
Subpackages¶
- alex.applications.PublicTransportInfoCS.slu.dailogregclassifier package
- Submodules
- alex.applications.PublicTransportInfoCS.slu.dailogregclassifier.autopath module
- alex.applications.PublicTransportInfoCS.slu.dailogregclassifier.download_models module
- alex.applications.PublicTransportInfoCS.slu.dailogregclassifier.test_bootstrap_trn module
- alex.applications.PublicTransportInfoCS.slu.dailogregclassifier.test_trn module
- alex.applications.PublicTransportInfoCS.slu.dailogregclassifier.train module
- Module contents
- alex.applications.PublicTransportInfoCS.slu.dainnclassifier package
- Submodules
- alex.applications.PublicTransportInfoCS.slu.dainnclassifier.autopath module
- alex.applications.PublicTransportInfoCS.slu.dainnclassifier.download_models module
- alex.applications.PublicTransportInfoCS.slu.dainnclassifier.test_bootstrap_trn module
- alex.applications.PublicTransportInfoCS.slu.dainnclassifier.test_trn module
- Module contents
Submodules¶
alex.applications.PublicTransportInfoCS.slu.add_to_bootstrap module¶
A simple script for adding new utterances along with their semantics to bootstrap.sem and bootstrap.trn.
Usage:
./add_to_bootsrap < input.tsv
The script expects input with tab-separated transcriptions + semantics (one utterance per line). It automatically generates the dummy ‘bootstrap_XXXX.wav’ identifiers and separates the transcription and semantics into two files.
alex.applications.PublicTransportInfoCS.slu.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 “autopath.py” version (in pypy/tool/autopath.py) you can directly run it which will copy itself on all autopath.py files it finds under the pypy root directory.
This module always provides these attributes:
pypydir pypy root directory path this_dir directory where this autopath.py resides
alex.applications.PublicTransportInfoCS.slu.consolidate_keyfiles module¶
This scripts consolidates all input key files. That means, that it generates new keyfiles ({old_name}.pruned, which contains only entries common to all input ket files.