Increase the threshold

main
Bob Mottram 2020-06-16 09:45:28 +01:00
parent 43d259d2d7
commit 54735b6546
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ __email__ = "bob@freedombone.net"
__status__ = "Production"
def isAccusatory(content: str, translate: {}, threshold=3) -> bool:
def isAccusatory(content: str, translate: {}, threshold=5) -> bool:
"""Indicates whether the given content is an accusatory post
"""
words = ('your', "you're", 'if you', 'you are', 'you')