Code for compiling an Xerox xfst representation of an FST into a
Python FST rep.
|
|
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
initialize_reader(self)
This function zeroes out all the records kept during the reading of a
fst file so that the same compiler can be used on a new file safely. |
source code
|
|
|
dictionary of dictionary of dictionaries
|
read_file(self,
file)
Open xerox ".net" file file and return
raw_dic, a dictionary representation of the FST
represented there. |
source code
|
|
|
|
|
|
|
|
|
a set of pairs of word and state.
|
|
|
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|