Fix parser swapping mentions and sentences
This commit is contained in:
parent
6f27d32bf1
commit
927efe7f07
2 changed files with 29 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue