https://github.com/pymorphy2-fork/pymorphy2-dicts
Scripts for updating pymorphy2 dictionaries. Fork of https://github.com/pymorphy2/pymorphy2-dicts
https://github.com/pymorphy2-fork/pymorphy2-dicts
pymorphy2
Last synced: 3 months ago
JSON representation
Scripts for updating pymorphy2 dictionaries. Fork of https://github.com/pymorphy2/pymorphy2-dicts
- Host: GitHub
- URL: https://github.com/pymorphy2-fork/pymorphy2-dicts
- Owner: pymorphy2-fork
- Created: 2023-05-13T17:05:39.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-05-13T17:05:49.000Z (about 2 years ago)
- Last Synced: 2025-02-05T00:11:14.470Z (5 months ago)
- Topics: pymorphy2
- Language: Python
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
pymorphy2-dicts
===============Scripts for updating pymorphy2_ dictionaries. License is MIT.
To compile a dictionary from a source XML file in OpenCorpora XML format
use ``build-dict.py`` script.``./cookiecutter-pymorphy2-dicts`` folder contains cookiecutter_ template
for creating language-specific pymorphy2-dicts-... packages.``update.py`` is a script for building pymorphy2-dicts-ru and
pymorphy2-dicts-uk packages with Russian and Ukrainian dictionaries
for pymorphy2.For Russian it downloads data from http://opencorpora.org,
compiles the dictionary using ``build-dict.py`` script
and creates pymorphy2-dicts-ru package using cookiecutter_.For Ukrainian it downloads LanguageTool_ data from Google Drive,
converts dictionary to OpenCorpora format using LT2OpenCorpora_, then
compiles it and creates pymorphy2-dicts-uk package... _LanguageTool: https://languagetool.org/
.. _LT2OpenCorpora: https://github.com/dchaplinsky/LT2OpenCorpora
.. _pymorphy2: https://github.com/kmike/pymorphy2
.. _cookiecutter: https://github.com/audreyr/cookiecutter