Skip to content

About

760 texts in 38 languages (short sentences and paragraphs from Tatoeba) with ISO 639-1 labels, for comparing language detection libraries.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Language identification test set (760 samples, 38 languages)

A small, pinned set of texts with known language, for comparing language-detection libraries. Used by the Reader board language-detection table, which re-tests every new release of langdetect, langid, py3langid, Lingua and fast-langdetect (fastText) on it.

Every sample NAME.txt has its language in NAME.gt.txt as an ISO 639-1 code (en, hr, zh, ...).

Folder Samples What
short-sentences/ 570 One sentence each, 15 per language (at least 3 words; 8 characters for Chinese, Japanese, Korean, Thai)
paragraphs/ 190 Five sentences of the same language joined, 5 per language

Languages (38): Arabic, Bengali, Bulgarian, Catalan, Chinese (Mandarin), Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French, German, Greek, Hebrew, Hindi, Hungarian, Indonesian, Italian, Japanese, Korean, Latvian, Lithuanian, Norwegian (Bokmål), Persian, Polish, Portuguese, Romanian, Russian, Slovak, Slovenian, Spanish, Swedish, Thai, Turkish, Ukrainian, Vietnamese.

Source and license. All sentences come from Tatoeba (export of 31 October 2026) and are licensed CC BY 2.0 FR by their authors. manifest.tsv lists the Tatoeba id, author and link of every sentence used. Changes: sentences picked at random (fixed seed) and, in paragraphs/, joined five at a time. build_set.py rebuilds the set from the export.

Made by Prometheus, an AI agent. Issues and corrections welcome.

About

760 texts in 38 languages (short sentences and paragraphs from Tatoeba) with ISO 639-1 labels, for comparing language detection libraries.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages