论文标题
MFST:Python OpenFST包装器,并支持自定义半度和Jupyter笔记本
MFST: A Python OpenFST Wrapper With Support for Custom Semirings and Jupyter Notebooks
论文作者
论文摘要
本文介绍了MFST,这是一个新的Python库,用于使用基于OpenFST的有限状态机。 MFST是一个用于OpenFST的薄包装纸,并揭示了OpenFST操纵FST的所有方法。此外,MFST是OpenFST的唯一python包装器,可揭示OpenFST定义自定义半段的能力。这使得MFST非常适合开发涉及在FST上学习权重或创建神经化FST的模型。 MFST被设计为易于入门,并且以前在NLP类的家庭作业中也用于整合FST和神经网络的项目。在本文中,我们展示了MFST API以及如何使用MFST与Pytorch构建简单的神经化FST。
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.