[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()
# dumpStack.clear()
log("Processing [{}] Tweet...".format(text), 'INFO')
# log("Processing [{}] Tweet...".format(text), 'INFO')
# if len(processStack) != 0:
# for tweet in processStack:
removedLines = fixLines(text)
removedSpecialChars = cleanTweet(removedLines)
removedSpacing = removeSpacing(removedSpecialChars[0])
tweetLength = checkLength(removedSpacing)
log("fixLines", 'DEBUG')
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:
checkIfEnglish = detectLaguage(removedSpecialChars[0])