Home

Awesome

go-ngram Build Status

N-gram index for Go.

Key features

Usage

index, err := ngram.NewNGramIndex(ngram.SetN(3))
tokenId, err := index.Add("hello") 
str, err := index.GetString(tokenId)  // str == "hello"
resultsList, err := index.Search("world")

TODO:

GoDoc

docs examples

library users