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 67 %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 8 %d years ago