|
speech_recognition
|
Public Member Functions | |
| def | __init__ (self, fpath, outpath) |
| def | compile (self) |
| def | error (self, *args, **kwargs) |
| def | generateSymsFiles (self) |
| def | warning (self, *args, **kwargs) |
Public Attributes | |
| fieldFileDict | |
| fname | |
| fpath | |
| fsFile | |
| fstype | |
| isymsFile | |
| isymsFileHandle | |
| osymsFile | |
| osymsFileHandle | |
| outpath | |
A class to generate fst binaries from raw text files or strings
Definition at line 11 of file fstcompiler.py.
| def fstcompiler.FstCompiler.__init__ | ( | self, | |
| fpath, | |||
| outpath | |||
| ) |
Definition at line 13 of file fstcompiler.py.
| def fstcompiler.FstCompiler.compile | ( | self | ) |
Method to compile FSA/FST after generating symbols files using generateSymsFiles
Definition at line 79 of file fstcompiler.py.
| def fstcompiler.FstCompiler.error | ( | self, | |
| * | args, | ||
| ** | kwargs | ||
| ) |
Error function of FstCompiler class
Definition at line 84 of file fstcompiler.py.
| def fstcompiler.FstCompiler.generateSymsFiles | ( | self | ) |
Method to generate the symbols files isyms and osyms
Definition at line 47 of file fstcompiler.py.
| def fstcompiler.FstCompiler.warning | ( | self, | |
| * | args, | ||
| ** | kwargs | ||
| ) |
Warning method of FstCompiler class
Definition at line 89 of file fstcompiler.py.
| fstcompiler.FstCompiler.fieldFileDict |
Definition at line 54 of file fstcompiler.py.
| fstcompiler.FstCompiler.fname |
Definition at line 40 of file fstcompiler.py.
| fstcompiler.FstCompiler.fpath |
Definition at line 17 of file fstcompiler.py.
| fstcompiler.FstCompiler.fsFile |
Definition at line 43 of file fstcompiler.py.
| fstcompiler.FstCompiler.fstype |
Definition at line 41 of file fstcompiler.py.
| fstcompiler.FstCompiler.isymsFile |
Definition at line 44 of file fstcompiler.py.
| fstcompiler.FstCompiler.isymsFileHandle |
Definition at line 50 of file fstcompiler.py.
| fstcompiler.FstCompiler.osymsFile |
Definition at line 45 of file fstcompiler.py.
| fstcompiler.FstCompiler.osymsFileHandle |
Definition at line 58 of file fstcompiler.py.
| fstcompiler.FstCompiler.outpath |
Definition at line 23 of file fstcompiler.py.
1.8.17