arXiv · 2506.17942
Tutorial: $\varphi$-Transductions in OpenFst via the Gallic Semiring
Abstract
OpenFst, a popular finite-state transducer library, supports $\varphi$-transitions but, due to an implementation constraint, they cannot be used with transducers in a straightforward way. In this short tutorial, we describe how one can use other functionality provided by OpenFst (namely, the Gallic semiring) to correctly implement $\varphi$-transductions and demonstrate it by implementing the MaxMatch (WordPiece) tokenization algorithm (Devlin et al., 2019; Song et al., 2021). Accompanying self-contained code examples are provided. https://www.openfst.org/twiki/pub/Contrib/FstContrib/phi_transduction_tutorial_code.tgz
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Marco Cognetta, Cyril Allauzen. 2025-06-22. Tutorial: $\varphi$-Transductions in OpenFst via the Gallic Semiring. https://arxiv.org/abs/2506.17942
Cite the original work for its findings. Save a collection to share your selection of sources.