Fix parser swapping mentions and sentences

This commit is contained in:
Paul Friedman 2014-10-19 22:33:17 -07:00
parent 6f27d32bf1
commit 927efe7f07
2 changed files with 29 additions and 2 deletions

View file

@ -63,9 +63,9 @@ module Ebooks
next if l.include?('RT') || l.include?('MT') # Remove soft retweets
if l.include?('@')
statements << NLP.normalize(l)
else
mentions << NLP.normalize(l)
else
statements << NLP.normalize(l)
end
end