in spamfilter.py [0:0]
def scan_text(self, text: str):
text_processed = self.tokenify(text)
if len(text_processed) > MINIMUM_NUMBER_OF_WORDS:
h, s = self.count_words(text_processed)
result = self.naive_result(h, s)
else:
result = 0
return result