HFST - Helsinki Finite-State Transducer Technology - C++ API
version 3.9.2
|
HFST - The Helsinki Finite-State Transducer technology is intended for creating and manipulating weighted or unweighted synchronic transducers implementing regular relations. UTF-8 is chosen as the character encoding used in the HFST software. Currently, HFST has been implemented using the SFST, OpenFst and foma software libraries. Other versions may be added in some future release. SFST and foma implementations are unweighted and OpenFst implementation is weighted.
Some of the HFST interface functionalities have also been implemented for HFST's own two transducer formats, HfstTransitionGraph and optimized lookup format. The previous is useful for converting between transducer formats and storing transducers in an implementation-independent format. The latter is used for fast lookup of strings in a transducer.
All implementations work according to the same interface, so it is possible to compile the same piece of code using different backend libraries. It is also possible to add your own implementation under the HFST interface.
For a quick start to the HFST interface with examples, see here.
The examples given in this documentation use Xerox transducer notation.