Expand description
A few utilities to manipulate wFSTs.
Functionsยง
- acceptor
- Turns a list of labels into a linear acceptor (FST with the same labels for both input and output).
The only accepted path in the acceptor will be
labels. - decode_
linear_ fst - Decode a linear FST to retrieves the only path recognized by it. A path is composed of the input symbols, the output symbols and the weight (multiplication of the weights of the trs of the path).
- epsilon_
machine - transducer
- Turns a list of input labels and output labels into a linear FST.
The only accepted path in the FST has for input
labels_inputand for outputlabels_output.