N-Gram

N-Gram generator

Generates sequences of characters from a given text, useful for data analysis and modeling

N-Gram generator in Ruby - http://en.wikipedia.org/wiki/N-gram

GitHub

37 stars
5 watching
6 forks
Language: Ruby
last commit: about 3 years ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
pwoolcoc/ngrams Generates n-grams from sequences of tokens 27
hassygo/charngram2vec A repository providing a re-implementation of character n-gram embeddings for pre-training in natural language processing tasks 23
postmodern/raingrams A flexible ngrams library in Ruby allowing users to model and generate text 69
jwieting/charagram A tool for training and using character n-gram based word and sentence embeddings in natural language processing. 125
tkellen/ruby-ngram Breaks text into contiguous sequences of words or phrases 12
tom-lord/regexp-examples A gem that generates random strings that match given regular expressions. 520
saaadhu/ramble A Ruby library for generating text based on a given grammar 4
marioruiz/string_pattern A gem that generates strings according to predefined patterns or regular expressions for testing and data generation purposes 16
reddavis/naive-bayes A simple implementation of a Naive Bayes classifier for text classification tasks 49
patterns-ai-core/langchainrb A Ruby library providing an interface to Large Language Model (LLM) providers for text generation and embedding 1,487
zolrath/marky_markov Generates text based on patterns found in input data 228
rggen/rggen Automatically generates source code for control and status registers (CSRs) from human-readable register map specifications. 341
maetl/calyx A Ruby library for generating text based on declarative recursive grammars. 62
mochizukikotaro/regex_sample A Ruby gem that generates random strings based on regular expressions 1
nullscreen/squid A Ruby library to generate graphs in PDF files using the Prawn gem. 221