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. ... ...
Release files for omorfi 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| omorfi-0.10.0.tar.gz | 123.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| omorfi-0.10.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 289.8 kB
Release files / omorfi-0.10.0.tar.gz
| Download URL | omorfi-0.10.0.tar.gz |
|---|---|
| Size | 123.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
309c358144d6ea90be11c56b3851886aaa7aaed0b9a16a40d4e1ceb4489e3da3
|
|
BLAKE2b-256 checksum How to use checksums |
79248990b049615acd7641b6ad5556f9a3a27d2cc62647485e5fea8f6921862b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|
Release files / omorfi-0.10.0-py3-none-any.whl
| Download URL | omorfi-0.10.0-py3-none-any.whl |
|---|---|
| Size | 166.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d6751bfc5757380a22706ef58bc83716fffa946ccc041dfd27d514e030cf6b72
|
|
BLAKE2b-256 checksum How to use checksums |
81c2984e1898026efa7cc1ac45ba4c040d87fe2d839ae781b0f2a688e76944f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|