[14.10.20] Testing

This commit is contained in:
andrewso 2020-10-14 18:11:10 +01:00
parent 1d459420de
commit 6626c0864b

View File

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