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
- ngrams
47,133 repositories indexed
1–3 of 3 · Most stars
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.
Break words and phrases into ngrams.
A lightweight implementation of Elastic Search and Predictive Ngrams