Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Tēzaurs.lv export tools

Scripts to prepare various exports from the Tezaurs.lv database.

For the newest Tēzaurs TEI/LMF/ispell exports, search "Tēzaurs" in Clarin.lv repository. For the GF export, see GF RGL Github, Latvian folder

Dev Notes

Install

Requires at least Python 3.14, psycopg and regex.

On Linux, if the system python is different, 3.14 can be installed with the help of pyenv. If installing psycopg via pip, then use psycopg-binary. If using PyCharm, don't forget to check that repository root (TezaursExports) is the working directory, when running any of the scripts. If folder .venv under repository root contains the appropriate Python enviroment, then any invocation examples given in .bat files become usable in shell by appending ./.venv/bin/ in front, e.g, ./.venv/bin/python -m lv.ailab.tezaurs.exports.lmf.do_lmf_wordnet_export tezaurs_2026_02.

For DB setup, see notes in setting_up_local_db.md (Latvian).

ILI <-> PWN 3.0 mapping

To obtain correct LMF ili values, config folder must contain mapping file ili-map-pwn30.tab from https://github.com/globalwordnet/cili

Validation

See notes in file xml-pub-notes.md (Latvian).

Acknowledgements

The work on porting Tezaurs.lv to a wide-coverage computational GF lexicon for Latvian was funded by the Latvian Council of Science under the grant agreement lzp-2022/1-0443 (Advancing Latvian Computational Lexical Resources for Natural Language Understanding and Generation).

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages