speech_recognition
Public Member Functions | Public Attributes | List of all members
fstcompiler.FstCompiler Class Reference

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
 

Detailed Description

A class to generate fst binaries from raw text files or strings

Definition at line 11 of file fstcompiler.py.

Constructor & Destructor Documentation

◆ __init__()

def fstcompiler.FstCompiler.__init__ (   self,
  fpath,
  outpath 
)

Definition at line 13 of file fstcompiler.py.

Member Function Documentation

◆ compile()

def fstcompiler.FstCompiler.compile (   self)
Method to compile FSA/FST after generating symbols files using
generateSymsFiles

Definition at line 79 of file fstcompiler.py.

◆ error()

def fstcompiler.FstCompiler.error (   self,
args,
**  kwargs 
)
Error function of FstCompiler class

Definition at line 84 of file fstcompiler.py.

◆ generateSymsFiles()

def fstcompiler.FstCompiler.generateSymsFiles (   self)
Method to generate the symbols files isyms and osyms

Definition at line 47 of file fstcompiler.py.

◆ warning()

def fstcompiler.FstCompiler.warning (   self,
args,
**  kwargs 
)
Warning method of FstCompiler class

Definition at line 89 of file fstcompiler.py.

Member Data Documentation

◆ fieldFileDict

fstcompiler.FstCompiler.fieldFileDict

Definition at line 54 of file fstcompiler.py.

◆ fname

fstcompiler.FstCompiler.fname

Definition at line 40 of file fstcompiler.py.

◆ fpath

fstcompiler.FstCompiler.fpath

Definition at line 17 of file fstcompiler.py.

◆ fsFile

fstcompiler.FstCompiler.fsFile

Definition at line 43 of file fstcompiler.py.

◆ fstype

fstcompiler.FstCompiler.fstype

Definition at line 41 of file fstcompiler.py.

◆ isymsFile

fstcompiler.FstCompiler.isymsFile

Definition at line 44 of file fstcompiler.py.

◆ isymsFileHandle

fstcompiler.FstCompiler.isymsFileHandle

Definition at line 50 of file fstcompiler.py.

◆ osymsFile

fstcompiler.FstCompiler.osymsFile

Definition at line 45 of file fstcompiler.py.

◆ osymsFileHandle

fstcompiler.FstCompiler.osymsFileHandle

Definition at line 58 of file fstcompiler.py.

◆ outpath

fstcompiler.FstCompiler.outpath

Definition at line 23 of file fstcompiler.py.


The documentation for this class was generated from the following file: