Skip to content

One-off functions for processing conllu files and fetching DeepL translations

License

Notifications You must be signed in to change notification settings

CentreForDigitalHumanities/little-helpers-conllu-deepl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Little helpers for conllu and DeepL

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.

Notes

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.

About

One-off functions for processing conllu files and fetching DeepL translations

Resources

License

Stars

Watchers

Forks

Languages