OpenGrm Pynini: Finite-state grammar development in Python


Red led Version 2.0.8 is now available for download.


OpenGrm Pynini, like Thrax, compiles grammars expressed as strings, regular expressions, and context-dependent rewrite rules into weighted finite-state transducers. It uses the OpenFst library and its Python extension to create, access and manipulate compiled grammars. Pynini is embedded in a Python module, allowing users to write Thrax-like grammars using Python's flexible syntax (including imperative programming constructs not available in Thrax) and powerful toolchain, including an interactive development ("REPL") environment.

It is (loosely) named after Pāṇini (पाणिनि), the renowned Sanskrit grammarian.

For more information about Pynini, see:

Other third-party information:

Please note that the package called Pynini on PyPI is an unrelated project; this Pynini can only be installed from source at the moment.


This topic: GRM > WebHome > Pynini
Topic revision: r48 - 2019-09-15 - KyleGorman
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback