[15.10.20] Testing
This commit is contained in:
parent
0106ec9044
commit
affd25379a
@ -143,7 +143,7 @@ def processTweet():
|
|||||||
|
|
||||||
pos, neu, neg, compound = callSentimentAnalyser(cleanedTweet)
|
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"]}
|
hourTweet = {'pos': pos, 'neu': neu, 'neg': neg, 'compound': compound, 'type': tweet["type"]}
|
||||||
|
|
||||||
hourStack.append(hourTweet)
|
hourStack.append(hourTweet)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user