Difference: PythonExtension (15 vs. 16)

Revision 162016-02-13 - KyleGorman

Line: 1 to 1
 
META TOPICPARENT name="FstExtensions"
Changed:
<
<

OpenFst Python extension Work in progress, under construction

>
>

OpenFst Python extension

 
Changed:
<
<
This describes the OpenFst 1.5.1 beta API.

This extension exposes nearly all of the OpenFst scripting interface in Python. Like the scripting interface, it supports arbitrary arcs and weights. The extension allows for rapid prototyping and interactive construction of FSTs using the Python REPL.

>
>
This extension exposes the OpenFst scripting API to Python. Like the scripting API, it supports arbitrary arcs and weights. The extension allows for rapid prototyping and interactive construction of FSTs using the Python REPL.
  Note that this extension is unrelated to, and incompatible with, any other third-party Python extensions for OpenFst (e.g., pyfst).

To install this package, either:

  • issue --enable-python during configuration of OpenFst
Changed:
<
<
  • Or, install OpenFst with FAR support (--enable-far) then install the PyPi package openfst using Pip: pip install openfst
>
>
  • Or, install OpenFst with FAR support (--enable-far) then install the PyPi package openfst using Pip: pip install openfst
 NB: >>> indicates the Python interactive prompt; all other typewriter-text lines are print to stdout or stderr.

Module import

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback