Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

OpenLID-v3: Improving the Precision of Closely Related Language Identification -- An Experience Report

About

Language identification (LID) is an essential step in building high-quality multilingual datasets from web data. Existing LID tools (such as OpenLID or GlotLID) often struggle to identify closely related languages and to distinguish valid natural language from noise, which contaminates language-specific subsets, especially for low-resource languages. In this work we extend the OpenLID classifier by adding more training data, merging problematic language variant clusters, and introducing a special label for marking noise. We call this extended system OpenLID-v3 and evaluate it against GlotLID on multiple benchmarks. During development, we focus on three groups of closely related languages (Bosnian, Croatian, and Serbian; Romance varieties of Northern Italy and Southern France; and Scandinavian languages) and contribute new evaluation datasets where existing ones are inadequate. We find that ensemble approaches improve precision but also substantially reduce coverage for low-resource languages. OpenLID-v3 is available on https://huggingface.co/HPLT/OpenLID-v3.

Mariia Fedorova, Nikolay Arefyev, Maja Buljan, Jind\v{r}ich Helcl, Stephan Oepen, Egil R{\o}nningstad, Yves Scherrer• 2026

Related benchmarks

TaskDatasetResultRank
Language IdentificationNordic DSL 50k
Loose Accuracy94.71
8
Language IdentificationFLORES+ (devtest)
Loose Accuracy99.97
8
Language IdentificationSLIDE
Loose Accuracy95.55
8
Language IdentificationFastSpell n=6,809 (excluding Nynorsk)
FPR0.15
7
Language IdentificationUDHR n=10,283 (test)
FPR0.0045
7
Language IdentificationHPLT-LID 3.0 (manual inspection)
FPR0.001
5
Language IdentificationSLIDE
Norwegian Bokmål FPR4
4
Language IdentificationNordic DSL
FPR (Norwegian Bokmål)0.7
4
Language IdentificationFLORES+
FPR (Norwegian Bokmål)0.01
4
Language IdentificationTwitter users
Bosnian FPR0.23
4
Showing 10 of 19 rows

Other info

GitHub

Follow for update