Skip to main content

Morphological analysis, dictionary lemmatization for Russian, German and English

Project description

Morphological analyzer for Russian, English and German languages.

This is a python wrapper for C++ morphology library that was created in 2000 (many years ago) for website The original library was written in C++, so we have to compile it and integrate with python using pybind11. The dictionaries are rather outdated, but I use them for some modern projects, that's why I decided to share the project with other people.

License is MIT.

The project is distributed in (sources)[], you have to install cmake and modern C++ (17) compiler to your workstation.


Normally you could install the project with python -m pip install pylem but if it does not work install it using the following steps:

  1. download and unpack sources
  2. run python install

Using the library

To search word mother in the English dictionary one should write the following code:

from pylem import MorphanHolder, MorphLanguage

h = MorphanHolder(MorphLanguage.English) #load dicts from disk


Other usages are covered by unittests

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

pylem-0.0.10.tar.gz (3.9 MB view hashes)

Uploaded Source

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