mirror of https://gitlab.com/bashrc2/epicyon
Increase the threshold
parent
43d259d2d7
commit
54735b6546
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue