UBC-NLP/afrolid

AfroLID, a powerful neural toolkit for African languages identification which covers 517 African languages.

59
/ 100
Established

This tool helps researchers, linguists, or content creators automatically identify the specific African language of a given text snippet. You input text, and it outputs the detected language from a list of 517 African languages and varieties, along with a confidence score. This is ideal for anyone working with large volumes of African language data who needs to quickly sort or categorize content by language.

Available on PyPI.

Use this if you need to programmatically determine which of 517 African languages a piece of text is written in.

Not ideal if you need to identify non-African languages or require exceptionally precise dialect differentiation beyond what a broad language identifier offers.

African languages linguistics content analysis natural language processing text categorization
No Dependents
Maintenance 10 / 25
Adoption 7 / 25
Maturity 25 / 25
Community 17 / 25

How are scores calculated?

Stars

36

Forks

10

Language

Python

License

Apache-2.0

Last pushed

Feb 05, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/UBC-NLP/afrolid"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.