getlang alternatives and similar packages
Based on the "Natural Language Processing" category.
Alternatively, view getlang alternatives based on common mentions on social networks and blogs.
-
prose
DISCONTINUED. :book: A Golang library for text processing, including tokenization, part-of-speech tagging, and named-entity extraction. -
gse
Go efficient multilingual NLP and text segmentation; support English, Chinese, Japanese and others. -
universal-translator
:speech_balloon: i18n Translator for Go/Golang using CLDR data + pluralization rules -
locales
:earth_americas: a set of locales generated from the CLDR Project which can be used independently or within an i18n package; these were built for use with, but not exclusive to https://github.com/go-playground/universal-translator -
segment
A Go library for performing Unicode Text Segmentation as described in Unicode Standard Annex #29 -
go-nlp
DISCONTINUED. Utilities for working with discrete probability distributions and other tools useful for doing NLP work. -
go-localize
i18n (Internationalization and localization) engine written in Go, used for translating locale strings. -
gotokenizer
A tokenizer based on the dictionary and Bigram language models for Go. (Now only support chinese segmentation)
CodeRabbit: AI Code Reviews for Developers

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of getlang or a related project?
Popular Comparisons
README
getlang
getlang provides fast natural language detection in Go.
Features
- Offline -- no internet connection required
- Supports 29 languages
- Provides ISO 639 language codes
- Fast
Getting started
Installation:
go get -u github.com/rylans/getlang
example:
package main
import (
"fmt"
"github.com/rylans/getlang"
)
func main(){
info := getlang.FromString("Wszyscy ludzie rodzą się wolni i równi w swojej godności i prawach")
fmt.Println(info.LanguageCode(), info.Confidence())
}
Documentation
License
Acknowledgements and Citations
- Thanks to abadojack for the trigram generation logic in whatlanggo
- Cavnar, William B., and John M. Trenkle. "N-gram-based text categorization." Ann arbor mi 48113.2 (1994): 161-175.
*Note that all licence references and agreements mentioned in the getlang README section above
are relevant to that project's source code only.