2013-11-18 02:59:15 -08:00
|
|
|
$debug = false
|
|
|
|
|
2013-11-08 06:02:05 +11:00
|
|
|
def log(*args)
|
2014-11-18 13:24:59 +11:00
|
|
|
STDERR.print args.map(&:to_s).join(' ') + "\n"
|
2013-11-08 06:02:05 +11:00
|
|
|
STDERR.flush
|
|
|
|
end
|
|
|
|
|
|
|
|
module Ebooks
|
|
|
|
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')
|
2014-12-05 22:57:32 +11:00
|
|
|
INTERIM = :interim
|
2013-11-08 06:02:05 +11:00
|
|
|
end
|
|
|
|
|
|
|
|
require 'twitter_ebooks/nlp'
|
2013-11-24 13:16:34 -08:00
|
|
|
require 'twitter_ebooks/archive'
|
2016-02-26 06:18:53 +11:00
|
|
|
require 'twitter_ebooks/sync'
|
2013-11-14 07:44:05 -08:00
|
|
|
require 'twitter_ebooks/suffix'
|
2013-11-08 06:02:05 +11:00
|
|
|
require 'twitter_ebooks/model'
|
|
|
|
require 'twitter_ebooks/bot'
|