[10.10.20] Testing

This commit is contained in:
andrewso 2020-10-10 22:55:45 +01:00
parent 0c41b72602
commit 8542ebd0ae

View File

@ -170,6 +170,7 @@ def createHourJob():
log("Extracting sentiment scores...", 'INFO') log("Extracting sentiment scores...", 'INFO')
if len(hourStack) != 0: if len(hourStack) != 0:
log("Boop", 'INFO')
for item in hourStack: for item in hourStack:
ovPos = ovPos + item['pos'] ovPos = ovPos + item['pos']
ovNeu = ovNeu + item['neu'] ovNeu = ovNeu + item['neu']
@ -182,7 +183,7 @@ def createHourJob():
neg = round(ovNeg/len(hourStack), 3) neg = round(ovNeg/len(hourStack), 3)
compound = round(ovCompound/len(hourStack), 3) compound = round(ovCompound/len(hourStack), 3)
print(pos, neu, neg, compound, type) print(pos, neu, neg, compound)
hourStack.clear() hourStack.clear()