2.0.9 - Whups, broke context
This commit is contained in:
parent
e4209f79e4
commit
95e96ceef9
3 changed files with 3 additions and 3 deletions
|
@ -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.
|
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)
|
def make_statement(limit=140, generator=nil)
|
||||||
responding = !generator.nil?
|
responding = !generator.nil?
|
||||||
generator = SuffixGenerator.build(@sentences)
|
generator ||= SuffixGenerator.build(@sentences)
|
||||||
tweet = ""
|
tweet = ""
|
||||||
|
|
||||||
while (tokens = generator.generate(3, :bigrams)) do
|
while (tokens = generator.generate(3, :bigrams)) do
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
module Ebooks
|
module Ebooks
|
||||||
VERSION = "2.0.8"
|
VERSION = "2.0.9"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue