Difference: PythonExtension (14 vs. 15)

Revision 152016-02-09 - KyleGorman

Line: 1 to 1
 
META TOPICPARENT name="FstExtensions"

OpenFst Python extension Work in progress, under construction

Line: 83 to 83
 
output_symbols The output SymbolTable, or None if no output table is set
start The state ID for the start state
weight_type A string indicating the weight type
Changed:
<
<

Mutable FSTs also provide the num_states attribute, which indicates the number of states in the FST.
>
>

Mutable FSTs also provide the num_states attribute, which indicates the number of states in the FST.
  To access FST properties (i.e., cyclicity, weightedness), use the properties method.
>>> print "Is f cyclic?", f.properties(fst.CYCLIC, True) == fst.CYCLIC
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback