mirror of
https://github.com/thewesker/twitter_ebooks.git
synced 2025-12-20 12:21:11 -05:00
2.0.9 - Whups, broke context
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# twitter\_ebooks 2.0.8
|
||||
# twitter\_ebooks 2.0.9
|
||||
|
||||
Complete rewrite of twitter\_ebooks. Allows context-sensitive responsive bots via the Twitter streaming API, along with higher-quality ngram modeling. Still needs a bit of cleaning and documenting.
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@ module Ebooks
|
||||
|
||||
def make_statement(limit=140, generator=nil)
|
||||
responding = !generator.nil?
|
||||
generator = SuffixGenerator.build(@sentences)
|
||||
generator ||= SuffixGenerator.build(@sentences)
|
||||
tweet = ""
|
||||
|
||||
while (tokens = generator.generate(3, :bigrams)) do
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
module Ebooks
|
||||
VERSION = "2.0.8"
|
||||
VERSION = "2.0.9"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user