Pynini: Finite-state grammar development in Python


Red led Version 2.1.6.post1 is now available for download.

Radioactive Pynini is now available on conda-forge. Users users who already have Conda can install Pynini and all dependencies using the following command: conda install -c conda-forge pynini

First class Pynini can now be used from a Colab notebook; see here for an example.


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.

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

If you use this library in your research, we would appreciate it if you cited one of:

Third-party information about the library:

Edit | Attach | Watch | Print version | History: r83 < r82 < r81 < r80 < r79 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r83 - 2024-07-19 - 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