mirror of
https://github.com/thewesker/twitter_ebooks.git
synced 2026-03-27 03:59:31 -04:00
Fix parser swapping mentions and sentences
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user