#99 · Primary category: NLP Tools & Text Processing
lingua-go
The most accurate natural language detection library for Go, suitable for short text and mixed-language text
Project last updated:02/06/25
GitHub Stars
1.4K
Forks
81
Contributors
3
License
Apache-2.0
Why we included this project
Knowing what language a piece of text is written in is usually the first step before a Go service can classify content, spell check it, or route it anywhere, and lingua-go handles that step well even when the input is very short, such as a chat message or a single search term. It detects 75 languages using a mix of rule-based and statistical methods, needs no word dictionaries and no connection to an external service, so it runs fully offline inside your binary. That is the real difference from older Go libraries in this space, which tend to lose accuracy on short snippets or when too many languages are in play. Teams routing emails to the right regional desk, triaging multilingual support tickets, or preparing text for spell checking and classification get a compact, dependency-light drop-in rather than a heavy ML stack to operate.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
flair
A very simple framework for state-of-the-art Natural Language Processing (NLP)
compromise
modest natural-language processing
tokenizers
💥 Fast State-of-the-Art Tokenizers optimized for Research and Production
CoreNLP
CoreNLP: A Java suite of core NLP tools for tokenization, sentence segmentation, NER, parsing, coreference, sentiment analysis, etc.
Chinese-Word-Vectors
100+ Chinese Word Vectors 上百种预训练中文词向量