[15.10.20] Testing

This commit is contained in:
andrewso 2020-10-15 14:01:06 +01:00
parent 0106ec9044
commit affd25379a

View File

@ -143,7 +143,7 @@ def processTweet():
pos, neu, neg, compound = callSentimentAnalyser(cleanedTweet)
if compound != 0.0 or neu <= 0.6:
if compound != 0.0 and neu <= 0.6:
hourTweet = {'pos': pos, 'neu': neu, 'neg': neg, 'compound': compound, 'type': tweet["type"]}
hourStack.append(hourTweet)