Module: Ebooks

Defined in:
lib/twitter_ebooks.rb,
lib/twitter_ebooks/bot.rb,
lib/twitter_ebooks/nlp.rb,
lib/twitter_ebooks/model.rb,
lib/twitter_ebooks/markov.rb,
lib/twitter_ebooks/suffix.rb,
lib/twitter_ebooks/archive.rb,
lib/twitter_ebooks/version.rb

Defined Under Namespace

Modules: NLP Classes: Archive, Bot, MarkovModel, Model, SuffixGenerator

Constant Summary collapse

GEM_PATH =
File.expand_path(File.join(File.dirname(__FILE__), '..'))
DATA_PATH =
File.join(GEM_PATH, 'data')
SKELETON_PATH =
File.join(GEM_PATH, 'skeleton')
TEST_PATH =
File.join(GEM_PATH, 'test')
TEST_CORPUS_PATH =
File.join(TEST_PATH, 'corpus/0xabad1dea.tweets')
INTERIM =

Special INTERIM token represents sentence boundaries This is so we can include start and end of statements in model Due to the way the sentence tokenizer works, can correspond to multiple actual parts of text (such as ^, $, n and .?!)

:interim
VERSION =
"2.2.6"