whatlanggo and lingua-go
These are direct competitors—both are standalone natural language detection libraries for Go that serve the same purpose, with lingua-go claiming superior accuracy particularly for short and mixed-language inputs.
About whatlanggo
abadojack/whatlanggo
Natural language detection library for Go
About lingua-go
pemistahl/lingua-go
The most accurate natural language detection library for Go, suitable for short text and mixed-language text
Combines rule-based and statistical methods with pre-trained language models across 75 languages, requiring no external API calls or dictionaries. Supports both single-language and polyglot detection with configurable accuracy modes optimized for varying text lengths. Designed as a lightweight preprocessing component for NLP pipelines, offering offline functionality with minimal configuration overhead.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work