Skip to content
conftrace_
2024 ACL ACL 2024

PyFoma: a Python finite-state compiler module

AbstractWe describe PyFoma, an open-source Python module for constructing weighted and unweighted finite-state transducers and automata from regular expressions, string rewriting rules, right-linear grammars, or low-level state/transition manipulation. A large variety of standard algorithms for working with finite-state machines is included, with a particular focus on the needs of linguistic and NLP applications. The data structures and code in the module are designed for legibility to allow for potential use in teaching the theory and algorithms associated with finite-state machines.

🌉 Interdisciplinary Bridge - Computer Science and Interdisciplinary and Natural Language Processing

More from ACL 2024

All ACL 2024 papers →