mirror of
https://github.com/thewesker/twitter_ebooks.git
synced 2025-12-26 07:11:10 -05: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