A flexible and general-purpose ngrams library written in Ruby. Raingrams supports ngram sizes greater than 1, text/non-text grams, multiple parsing styles and open/closed vocabulary models.
Ruby 66 %d years ago
N-Gram generator in Ruby - http://en.wikipedia.org/wiki/N-gram
Ruby 31 %d years ago
Break words and phrases into ngrams.
Ruby 7 %d years ago