HFST - Helsinki Finite-State Transducer Technology - Python API  version 3.9.0
HFST - Helsinki Finite-State Transducer Technology - Python API Documentation

THIS PAGE IS FOR TESTING PURPOSES We are moving from Sourceforge to Github in January 2016.

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 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.

Part of HFST interface has been implemented for HFST's own two transducer formats, HfstBasicTransducer and optimized lookup format. The previous is useful for accessing individual states and transitions of a transducer, 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 back-end implementations - SFST, OpenFst and foma - work according to the same interface, so it is possible to compile the same piece of code using different back-end libraries. There are some differences related to weights, as only OpenFst supports them.

For a quick start to the HFST interface with examples, see here.

The examples given in this documentation use Xerox transducer notation.


Features

Tutorial

Download

Links