golibstemmer alternatives and similar packages
Based on the "Natural Language Processing" category.
Alternatively, view golibstemmer alternatives based on common mentions on social networks and blogs.
-
prose
: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. -
spaGO
Self-contained Machine Learning and Natural Language Processing library in Go -
kagome
Self-contained Japanese Morphological Analyzer written in pure Go -
nlp
[UNMANTEINED] Extract values from strings and fill your structs with nlp. -
sentences
A multilingual command line sentence tokenizer in Golang -
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 -
RAKE.go
A Go port of the Rapid Automatic Keyword Extraction algorithm (RAKE) -
go-nlp
Utilities for working with discrete probability distributions and other tools useful for doing NLP work. -
segment
A Go library for performing Unicode Text Segmentation as described in Unicode Standard Annex #29 -
textcat
A Go package for n-gram based text categorization, with support for utf-8 and raw text -
go-localize
i18n (Internationalization and localization) engine written in Go, used for translating locale strings. -
stemmer
Stemmer packages for Go programming language. Includes English, German and Dutch stemmers. -
petrovich
Golang port of Petrovich - an inflector for Russian anthroponyms. -
go-tinydate
A tiny date object in Go. Tinydate uses only 4 bytes of memory -
paicehusk
Golang implementation of the Paice/Husk Stemming Algorithm -
spreak
Flexible translation and humanization library for Go, based on the concepts behind gettext. -
gotokenizer
A tokenizer based on the dictionary and Bigram language models for Go. (Now only support chinese segmentation) -
gosentiwordnet
💬 Sentiment analyzer library using SentiWordnet in Go -
spelling-corrector
Spelling corrector for Spanish language
WorkOS - The modern identity platform for B2B SaaS
* 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 golibstemmer or a related project?
README
Go (golang) bindings for libstemmer
This simple library provides Go (golang) bindings for the snowball libstemmer library including the popular porter and porter2 algorithms.
Requirements
You'll need the development package of libstemmer, usually this is simply a matter of:
sudo apt-get install libstemmer-dev
... or you might need to install it from source.
Installation
First, ensure you have your GOPATH env variable set to the root of your Go project:
export GOPATH=`pwd`
export PATH=$PATH:$GOPATH/bin
Then this cute statement should do the trick:
go get github.com/rjohnsondev/golibstemmer
Usage
Basic usage:
package main
import "github.com/rjohnsondev/golibstemmer"
import "fmt"
import "os"
func main() {
s, err := stemmer.NewStemmer("english")
defer s.Close()
if err != nil {
fmt.Println("Error creating stemmer: "+err.Error())
os.Exit(1)
}
word := s.StemWord("happy")
fmt.Println(word)
}
To get a list of supported stemming algorithms:
list := stemmer.GetSupportedLanguages()
Testing
You can execute the basic included tests with:
go test
If you have issues, double check you've installed the libstemmer development library.
If you still have issues, let me know!