Data Quality Tools
LLM-based verification and streaming integrity scans. For quick in-process checks and review queues, use the Quality Hub.
Given a sentence, uses an LLM to identify the vocabulary lemmas it contains, then creates database links between the sentence and those lemmas. Use Single Sentence for one-off additions or From File to batch-process a text file (one sentence per line). Translations into the selected target languages are generated at the same time.
PYTHONPATH=src python src/agents/bebras.py --sentence "Your sentence" --languages lt zh fr es
Scan the database for structural problems. Choose a specific check below or run them all at once. Checks marked with Fix Issues support auto-repair (currently: missing punctuation and sentence levels). Results stream in real time so you can watch progress on large databases.
PYTHONPATH=src python src/reports/integrity.py
Ask an LLM to review existing translations and judge whether they are correct. Translations are not regenerated — the model only gives a correct/incorrect verdict so you can spot problems. Use Verify Words for lemma translations or Verify Sentences for sentence translations. A specific word or sentence runs immediately. Bulk selections are queued as one independently retryable job per record.
PYTHONPATH=src python -m verification words --languages lt zh fr es --limit 100
Find lemmas that share the same headword and part of speech. These are likely accidental duplicates that should be merged. Lemmas intentionally distinguished by a disambiguation tag (e.g. "mouse (animal)" vs "mouse (computer)") are not flagged.
Same scan from the command line:
PYTHONPATH=src python src/reports/integrity.py --check duplicate-words