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

12/07/2020
by   Matthew Francis-Landau, et al.
0

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.

READ FULL TEXT
research
07/03/2019

libconform v0.1.0: a Python library for conformal prediction

This paper introduces libconform v0.1.0, a Python library for the confor...
research
10/14/2020

fugashi, a Tool for Tokenizing Japanese in Python

Recent years have seen an increase in the number of large-scale multilin...
research
05/07/2023

Egg-smol Python: A Pythonic Library for E-graphs

E-graphs have emerged as a versatile data structure with applications in...
research
01/11/2019

SPFlow: An Easy and Extensible Library for Deep Probabilistic Learning using Sum-Product Networks

We introduce SPFlow, an open-source Python library providing a simple in...
research
09/26/2021

Soundata: A Python library for reproducible use of audio datasets

Soundata is a Python library for loading and working with audio datasets...
research
06/23/2022

There Ain't No Such Thing as a Free Custom Memory Allocator

Using custom memory allocators is an efficient performance optimization ...
research
03/21/2017

The NLTK FrameNet API: Designing for Discoverability with a Rich Linguistic Resource

A new Python API, integrated within the NLTK suite, offers access to the...

Please sign up or login with your details

Forgot password? Click here to reset