计算机科学 > 形式语言与自动机理论
[提交于 2025年6月22日]
标题:Tutorial: $\varphi$-Transductions in OpenFst via the Gallic Semiring
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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
提交历史
来自:Marco Cognetta[v1] 2025年6月22日 星期日 08:24:04 UTC