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.

whatlanggo
44
Emerging
lingua-go
42
Emerging
Maintenance 0/25
Adoption 10/25
Maturity 16/25
Community 18/25
Maintenance 0/25
Adoption 10/25
Maturity 16/25
Community 16/25
Stars: 680
Forks: 67
Downloads:
Commits (30d): 0
Language: Go
License: MIT
Stars: 1,325
Forks: 77
Downloads:
Commits (30d): 0
Language: Go
License: Apache-2.0
Stale 6m No Package No Dependents
Stale 6m No Package No Dependents

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.

Scores updated daily from GitHub, PyPI, and npm data. How scores work