Go natural language processing libraries
Tokenizers, stemmers, language detection and text analysis for Go, ranked by GitHub stars
更新 · GitHub stars (stars)
なぜこの20か
Ranked by GitHub stars: how many developers bookmarked the project. Stars measure attention, not quality, so each row also shows forks, licence and the last push. Tools without a public repository have no star count and can't be ranked here.
-
1
go-i18n
Package and an accompanying tool to work with localized text.
3,554 stars 287 forkslast push 2026-11-01GoMIT
-
2
gse
Go efficient text segmentation; support english, chinese, japanese and other.
2,846 stars 231 forkslast push 2026-11-18GoApache-2.0
-
3
gojieba
This is a Go implementation of jieba which a Chinese word splitting algorithm.
2,650 stars 304 forkslast push 2026-07-20GoMIT
-
4
spaGO
Self-contained Machine Learning and Natural Language Processing library in Go.
1,851 stars 87 forkslast push 2025-04-01GoBSD-2-Clause
-
5
-
6
lingua-go
An accurate natural language detection library, suitable for long and short text alike. Supports detecting multiple languages in mixed-language text.
1,369 stars 81 forkslast push 2025-02-06GoApache-2.0
-
7
slug
URL-friendly slugify with multiple languages support.
1,337 stars 116 forkslast push 2024-12-23GoMPL-2.0
-
8
-
9
whatlanggo
Natural language detection package for Go. Supports 84 languages and 24 scripts (writing systems e.g. Latin, Cyrillic, etc).
698 stars 66 forkslast push 2023-03-28GoMIT
-
10
-
11
nlp
Go Natural Language Processing library supporting LSA (Latent Semantic Analysis).
477 stars 46 forkslast push 2021-05-11GoMIT
-
12
sentences
Sentence tokenizer: converts text into a list of sentences.
472 stars 43 forkslast push 2026-10-05GoMIT
-
13
-
14
-
15
RAKE.go
Go port of the Rapid Automatic Keyword Extraction Algorithm (RAKE).
124 stars 19 forkslast push 2025-06-12GoMIT
-
16
ctxi18n ▲1
Context aware i18n with a short and consise API, pluralization, interpolation, and support. YAML locale definitions are based on Rails i18n.
96 stars 8 forkslast push 2024-12-04GoApache-2.0
-
17
go-slugify ▼1
Make pretty slug with multiple languages support.
95 stars 9 forkslast push 2020-05-13GoMIT
-
18
spreak
Flexible translation and humanization library for Go, based on the concepts behind gettext.
95 stars 4 forkslast push 2025-09-28GoNOASSERTION
-
19
segment
Go library for performing Unicode Text Segmentation as described in Unicode Standard Annex #29
90 stars 17 forkslast push 2026-07-29GoApache-2.0
-
20
参考資料
- avelino/awesome-go: Natural Language Processing, GitHub community list (list text MIT; star counts from the GitHub API). Checked 2026-11-20 13:40 UTC.
- avelino/awesome-go (Natural Language Processing), GitHub community list, 48 tools with a public repository.