Skip to main content

OpenCorpora.org dictionaries pre-compiled for pymorphy2

Project description

This is a package with pre-compiled OpenCorpora.org dictionary data for pymorphy2.

Installation

Install:

$ pip install pymorphy2-dicts

Remove:

$ pip uninstall pymorphy2-dicts

Usage

You can get a path to the installed dataset using pymorphy2_dicts.get_path() method. Usually you don’t have to do so, because if all of the following apply:

  1. this package is installed;

  2. dictionary path is not passed to pymorphy2.MorphAnalyzer constructor;

  3. PYMORPHY2_DICTIONARY_PATH environment variable is not set,

then pymorphy2.MorphAnalyzer() uses dictionaries from this package automatically.

Development

The main repo is https://github.com/kmike/pymorphy2-dicts/. The repository doesn’t contain the data itself: only package template and update scripts are stored in VCS.

There is a hg/bitbucket mirror at https://bitbucket.org/kmike/pymorphy2-dicts/.

License for Python code in this package is MIT. The data is licensed under Creative Commons Attribution-Share Alike.

Download files

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

Source Distributions

pymorphy2-dicts-2.4.390679.3656036.zip (6.9 MB view hashes)

Uploaded Source

pymorphy2-dicts-2.4.390679.3656036.tar.gz (6.9 MB view hashes)

Uploaded Source

pymorphy2-dicts-2.4.390679.3656036.tar.bz2 (6.3 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