A pure-python implementation of the Voikko library that provides Finnish morphological analysis
Project description
PyVoikko
PyVoikko is an implementation of Voikko, a free and open source morphological analyzer for Finnish. It aims to reimplement the Voikko library in pure Python, so that it can be used in environments in which native libraries like libvoikko cannot be installed. It contains a pre-built version of the voikko-fi transducer and uses the KFST library for lookups.
It is in early stages of development. The only thing implemented right now is a parser for the analysis strings produced by the Voikko transducer. As the analysis strings are quite complex, it is very likely that the parser does not yet parse all of them correctly. Please report bugs if you find them!
Other features of the Voikko library, such as spell checking and tokenising, are not implemented yet.
Installation
PyVoikko is available on PyPI and can be installed with pip:
pip install pyvoikko
Usage
import pyvoikko
print(pyvoikko.analyse("kissa"))
License
PyVoikko is licensed under the GNU GPL version 3 or later. See the LICENSE file for details.
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
Built Distribution
File details
Details for the file pyvoikko-0.1.tar.gz
.
File metadata
- Download URL: pyvoikko-0.1.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2dc87c5658594c2c669c7902b9b4a9c9430518ed363c6ec7ce173aa12f1f7b49 |
|
MD5 | 63c8c062b411fcf45bbd026683a7733a |
|
BLAKE2b-256 | 7d0ad847c78fa9c58e76dcbe6d48ea1dda04a6b052a8ce8a6bbeaea37c638bdc |
File details
Details for the file pyvoikko-0.1-py3-none-any.whl
.
File metadata
- Download URL: pyvoikko-0.1-py3-none-any.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b33c2a443405b5700358738e008ed3e8a06111ab08891ac7556d111354028c5 |
|
MD5 | b37c5efeebe11d90945741e6ce8ab47f |
|
BLAKE2b-256 | 7dcd3442d93e5fb29cd3c35d52aed033acef16d1f50d9629e56f33513ae76538 |