Merge pull request #68 from prichey/master

Fix deprecation warning, update 'interesting keywords' favoriting example
This commit is contained in:
Jaiden Mispy 2015-06-13 18:07:41 +10:00
commit f22ca8841c

View file

@ -135,10 +135,10 @@ The secondary function is the "interesting keywords" list. For example, I use th
``` ruby
top100 = model.keywords.take(100)
tokens = Ebooks::NLP.tokenize(tweet[:text])
tokens = Ebooks::NLP.tokenize(tweet.text)
if tokens.find { |t| top100.include?(t) }
bot.favorite(tweet[:id])
favorite(tweet)
end
```