OpenFst Examples
Reading the
quick tour first is recommended. That includes a simple
example of FST application using either the C++ template level or the shell-level operations. The
advanced usage topic contains an
implementation using the template-free intermediate
scripting level as well.
In the following, we code only at the C++ template level, which is the most general and flexible. Using the other levels for these examples, however, should be straight-forward.
T9 Recognizer