This repository contains a few Python functions for some one-off tasks with .conllu
files and fetching DeepL translations.
- For parsing and writing .conllu files, conllu is used.
- DeepL translations are fetched using the DeepL Python package.
- Extracted and translated sentences and words are stored in a SQLite database.
Install dependencies in a virtual environment, e.g. with uv:
uv venv --python 3.9 --prompt="(conllu-deepl) "
source .venv/bin/activate
uv pip sync requirements.txt
Scripts containing blocks marked with #%%
can be run interactively in VSCode.