[14.10.20] Testing
This commit is contained in:
parent
1d459420de
commit
6626c0864b
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user