pemistahl/lingua-go
The most accurate natural language detection library for Go, suitable for short text and mixed-language text
This tool helps you automatically identify the language of a text, whether it's a short phrase, a single word, or a longer document. It takes in text written in one of 75 supported languages and tells you which language it is. This is useful for anyone processing multilingual text, like customer service managers routing emails or data analysts preparing text for further analysis.
1,325 stars. No commits in the last 6 months.
Use this if you need highly accurate language detection for short, mixed-language, or single-word texts and prefer an offline solution.
Not ideal if you primarily work with programming languages other than Go.
Stars
1,325
Forks
77
Language
Go
License
Apache-2.0
Category
Last pushed
Feb 06, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/nlp/pemistahl/lingua-go"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
ikawaha/kagome-dict
Dictionary Library for Kagome v2
aaaton/golem
A lemmatizer implemented in Go
habeanf/yap
Yet Another (natural language) Parser
clipperhouse/uax29
A tokenizer based on Unicode text segmentation (UAX #29), for Go. Split graphemes, words, sentences.
abadojack/whatlanggo
Natural language detection library for Go