stuff I had to change to get the bot working
This commit is contained in:
parent
854f4351ee
commit
a885d5fe22
3 changed files with 16 additions and 4 deletions
|
@ -19,6 +19,9 @@ module Ebooks
|
|||
@bigrams = {}
|
||||
|
||||
@sentences.each_with_index do |tikis, i|
|
||||
if (i % 10000 == 0) then
|
||||
log ("Building: sentence #{i} of #{sentences.length}")
|
||||
end
|
||||
last_tiki = INTERIM
|
||||
tikis.each_with_index do |tiki, j|
|
||||
@unigrams[last_tiki] ||= []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue