Skip to content

beer-asr/pywrapfst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pywrapfst

Fork of the official OpenFst python wrapper specially designed for the beer framework .

Requirements

In order to install pywrapfst the following tools are required:

  • Python 3.0 or greater
  • Cython
  • OpenFst installed with the far extension. When installing OpenFst, do NOT install the python extension !
  • numpy, it is only required to run the example

Though not required, we strongly recommend the use of the Anaconda python distribution as it grealty simplifies depedencies.

Installation

In pywrapfst root directory run:

$ python setup.py install

If OpenFst was installed in a non-standard location, set appropriately the environment variable LD_LIBRARY_PATH as in the following example:

$ LD_LIBRARY_PATH=/path/to/my/library/directory python setup.py install

You can check if the installation was successful by running:

$ python -c "import pywrapfst; print('ok')"

Usage

Look at the provided example to see some basic usage.

About

Fork of the official OpenFst python wrapper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published