Skip to content

Generate sqlite database from Reta Vortaro's XML files

Notifications You must be signed in to change notification settings

djuretic/praktika-vortaro-dicts

Repository files navigation

Dictionary files for Praktika Vortaro

Generating the database

Requirements: uv

Install the dependencies, download the dictionary files and process them:

git submodule init && git submodule update
uv run cli.py process_revo

This will generate the sqlite database output/vortaro.db.

To download the most recent data files from Revo:

# you may need 'sudo apt install lynx'
./download_revo.sh
uv run cli.py process_revo

Formatting code

uv tool install ruff
ruff format .

Tests

pytest

About

Generate sqlite database from Reta Vortaro's XML files

Resources

Stars

Watchers

Forks