postgrespro / hunspell_dicts

Hunspell dictionaries for PostgreSQL
Other
63 stars 17 forks source link

Upgrade ru_ru_aot dictionaries to 0.4.3 #5

Open Envek opened 4 years ago

Envek commented 4 years ago

Russian hunspell dictionaries version 0.4.3 from AOT.ru was released at 2018-06-27

See https://extensions.libreoffice.org/extensions/russian-spellcheck-dictionary.-based-on-works-of-aot-group/0-4.3 for details

What I've done:

  1. Downloaded dict_ru_ru-aot-0.4.3.oxt from extensions.libreoffice.org

  2. Extracted russian-aot.aff and russian-aot.dic from it to hunspell_ru_ru_aot

  3. Converted them to UTF-8:

    iconv -f KOI8-R -t UTF-8 -o ru_ru_aot.affix russian-aot.aff
    iconv -f KOI8-R -t UTF-8 -o ru_ru_aot.dict russian-aot.dic
  4. Tested on local PostgreSQL installation:

    make USE_PGXS=1 install
    make USE_PGXS=1 installcheck
  5. Committed the results