/TezaursTEI

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Tēzaurs.lv export tools

Scripts to prepare an offline TEI and LMF exports from the Tezaurs.lv database.

Dev Notes

Install

Requires psycopg2, which doesn't install cleanly on OSX and requires that postgresql is installed via brew (not the downloaded .dmg installer) and the following

export PATH=$PATH:/Library/PostgreSQL/11/bin/
pip3 install psycopg2

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

OMV validation

TEI validation

  • Currently no good tools are known for general TEI, but XML well-formed-ness can be checked with general XML tools or with Notepad++ plugin XML tools.