MFST: A Python OpenFST Wrapper With Support for Custom Semirings and Jupyter Notebooks

arXiv:2012.03437 First posted 2020-12-07 v1
Cite this paper ×
BibTeX
@misc{francislandau2020mfst,
  title = {MFST: A Python OpenFST Wrapper With Support for Custom Semirings and Jupyter Notebooks},
  author = {Matthew Francis-Landau},
  year = {2020},
  eprint = {2012.03437},
  archivePrefix = {arXiv},
  primaryClass = {cs.LG},
  url = {https://arxiv.org/abs/2012.03437}
}
APA 7
Francis-Landau, M. (2020). MFST: A Python OpenFST Wrapper With Support for Custom Semirings and Jupyter Notebooks [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2012.03437
GB/T 7714
FRANCIS-LANDAU M. MFST: A Python OpenFST Wrapper With Support for Custom Semirings and Jupyter Notebooks[EB/OL]. (2020-12-07)[2026-11-30]. https://arxiv.org/abs/2012.03437.

Abstract

This paper introduces mFST, a new Python library for working with Finite-State Machines based on OpenFST. mFST is a thin wrapper for OpenFST and exposes all of OpenFST's methods for manipulating FSTs. Additionally, mFST is the only Python wrapper for OpenFST that exposes OpenFST's ability to define a custom semirings. This makes mFST ideal for developing models that involve learning the weights on a FST or creating neuralized FSTs. mFST has been designed to be easy to get started with and has been previously used in homework assignments for a NLP class as well in projects for integrating FSTs and neural networks. In this paper, we exhibit mFST API and how to use mFST to build a simple neuralized FST with PyTorch.

Post #1 · the paper

Discussion

No comments yet. Start the discussion!