raingrams

ngram generator

A flexible ngrams library in Ruby allowing users to model and generate text

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.

GitHub

69 stars
7 watching
7 forks
Language: Ruby
last commit: over 3 years ago
Linked from 1 awesome list

ngramsruby

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
pwoolcoc/ngrams Generates n-grams from sequences of tokens 27
reddavis/n-gram Generates sequences of characters from a given text, useful for data analysis and modeling 37
tkellen/ruby-ngram Breaks text into contiguous sequences of words or phrases 12
nullscreen/squid A Ruby library to generate graphs in PDF files using the Prawn gem. 220
ged/ruby-pg A PostgreSQL interface library for Ruby 796
royaltm/ruby-em-pg-client An asynchronous PostgreSQL client library for Ruby that provides a connection interface with EventMachine support. 59
matt-harvey/tabulo A Ruby library for generating plain text tables with a column-based API and flexible configuration options. 245
saaadhu/ramble A Ruby library for generating text based on a given grammar 4
googleapis/gapic-generator-ruby Automates creation of Ruby client libraries from Protocol Buffer definitions. 45
maetl/calyx A Ruby library for generating text based on declarative recursive grammars. 62
patterns-ai-core/langchainrb A Ruby library providing an interface to Large Language Model (LLM) providers for text generation and embedding 1,415
thebrianemory/corneal A Ruby gem that generates a Sinatra application with a Rails-like structure and simplicity. 254
jasonlong/geo_pattern Generates geometric background images from strings using a combination of color manipulation and pattern generation. 1,257
yohasebe/rsyntaxtree Generates graphical syntax trees for linguistic research using Ruby 99
cloudorc/solidui A platform that enables users to generate 2D and 3D graphics from text descriptions using a combination of natural language processing and computer graphics 579