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
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 -
go-nlp
DISCONTINUED. 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 -
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)
SaaSHub - Software Alternatives and Reviews
* 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!