lib/twitter_ebooks.rb in twitter_ebooks-2.3.2 vs lib/twitter_ebooks.rb in twitter_ebooks-3.0.0
- old
+ new
@@ -1,21 +1,21 @@
$debug = false
def log(*args)
- STDERR.puts args.map(&:to_s).join(' ')
+ STDERR.print args.map(&:to_s).join(' ') + "\n"
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')
+ INTERIM = :interim
end
require 'twitter_ebooks/nlp'
require 'twitter_ebooks/archive'
-require 'twitter_ebooks/markov'
require 'twitter_ebooks/suffix'
require 'twitter_ebooks/model'
require 'twitter_ebooks/bot'