Skip to main content

Python bindings to omorfi (and a generic FSA runner)

Project description

omorfi-python

Omorfi python was originally designed as a python runtime for omorfi. It is meant for easier way to use finite-state automata and related tooling than hand-crafting pipelines with low-level command-line tools. Many functionalities are related to me implementing a specific NLP application and writing an academic paper out of it with (semi-)automated testing and evaluation.

Dependencies

  • pyhfst
  • omorfi

Installation

Pip can be used to install the library and the command-line stuff:

$ pip install omorfi

If you are in a system that cannot use pip directly, consider creating a virtual environment (probably as instructed in the error message).

Pipx can be used to install command-line stuffs and the library:

$ pipx install git+https://github.com/flammie/omorfi-python

To get omorfi language models, you can fetch a package of binaries from the omorfi releases or clone the github repo and build your own:

$ git clone https://github.com/flammie/omorfi
$ cd omorfi
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install

The command line above is just a reminder, read through the README in omorfi repo for further instructions.

Usage

There are several command-line programs for using omorfi for various NLP tasks. ... ...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

omorfi-0.10.0.tar.gz (123.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

omorfi-0.10.0-py3-none-any.whl (166.6 kB view details)

Uploaded Python 3

File details

Details for the file omorfi-0.10.0.tar.gz.

File metadata

  • Download URL: omorfi-0.10.0.tar.gz
  • Upload date:
  • Size: 123.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for omorfi-0.10.0.tar.gz
Algorithm Hash digest
SHA256 309c358144d6ea90be11c56b3851886aaa7aaed0b9a16a40d4e1ceb4489e3da3
MD5 9c60b9caa979b2d516745d9daa8830d2
BLAKE2b-256 79248990b049615acd7641b6ad5556f9a3a27d2cc62647485e5fea8f6921862b

See more details on using hashes here.

File details

Details for the file omorfi-0.10.0-py3-none-any.whl.

File metadata

  • Download URL: omorfi-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 166.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for omorfi-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d6751bfc5757380a22706ef58bc83716fffa946ccc041dfd27d514e030cf6b72
MD5 36f3278dd5f3a1550f489726d5f8ef1d
BLAKE2b-256 81c2984e1898026efa7cc1ac45ba4c040d87fe2d839ae781b0f2a688e76944f5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page