n-gram Go implementation of n-gram Installation $ go get -u github.com/aryahadii/ngram Usage res, err := ngram.Get("ABCD", 2) // res == [ "AB", "BC", "CD" ] res, err = ngram.GetFrequency("ABBBB", 3) // res == { "ABB": 1, "BBB": 2 } License This project is MIT licensed.