Skip to main content

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

pyvoikko-0.4.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

pyvoikko-0.4-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file pyvoikko-0.4.tar.gz.

File metadata

  • Download URL: pyvoikko-0.4.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

Hashes for pyvoikko-0.4.tar.gz
Algorithm Hash digest
SHA256 5fdc37f777f9e62220b78dadb06e5ef8cace8f87c52e6269febd3de3342e4196
MD5 e1b7a31e546d3add96a962e66450488a
BLAKE2b-256 059e25d1ac654d899a52a1df0e50606851b31bebf57bc457c3698924fa91eb73

See more details on using hashes here.

File details

Details for the file pyvoikko-0.4-py3-none-any.whl.

File metadata

  • Download URL: pyvoikko-0.4-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

Hashes for pyvoikko-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 97679944476790117cddc26546dfc517dcd2a6ed32ca1c97db59dbda7923fea5
MD5 88e48e2c6cab394d3e7d6b3fa5d8cd3f
BLAKE2b-256 f711007cbf938c805051ae2e5fe66d4da19613ed0910a9a069b8de99a2070014

See more details on using hashes here.

Supported by

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