[12.10.20] Testing

This commit is contained in:
andrewso 2020-10-12 18:05:18 +01:00
parent fe90e08191
commit 50e2ef40fd

View File

@ -117,16 +117,20 @@ def processTweet(text, type):
# processStack = dumpStack.copy() # processStack = dumpStack.copy()
# dumpStack.clear() # dumpStack.clear()
log("Processing [{}] Tweet...".format(text), 'INFO') # log("Processing [{}] Tweet...".format(text), 'INFO')
# if len(processStack) != 0: # if len(processStack) != 0:
# for tweet in processStack: # for tweet in processStack:
removedLines = fixLines(text) removedLines = fixLines(text)
removedSpecialChars = cleanTweet(removedLines) log("fixLines", 'DEBUG')
removedSpacing = removeSpacing(removedSpecialChars[0])
tweetLength = checkLength(removedSpacing)
log("Boop1", 'DEBUG') removedSpecialChars = cleanTweet(removedLines)
log("cleanTweet", 'DEBUG')
removedSpacing = removeSpacing(removedSpecialChars[0])
log("removeSpacing", 'DEBUG')
tweetLength = checkLength(removedSpacing)
log("checkLength", 'DEBUG')
if tweetLength == True: if tweetLength == True:
checkIfEnglish = detectLaguage(removedSpecialChars[0]) checkIfEnglish = detectLaguage(removedSpecialChars[0])