This commit is contained in:
Kit 2018-01-25 23:17:22 +01:00
parent 52ef51f36e
commit 4b42267ba3
No known key found for this signature in database
GPG Key ID: E9B25746C2EADBA0
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ def is_lower(string): return string.islower()
def is_space(string): return string.isspace()
def is_title(string): return string.istitle()
def is_upper(string): return string.isupper()
def is_stop(string, stops=set()): return string in stops
def is_stop(string, stops=set()): return string.lower() in stops
def is_oov(string): return True
def get_prob(string): return -20.