mirror of https://github.com/explosion/spaCy.git
Fix issue #1889
This commit is contained in:
parent
52ef51f36e
commit
4b42267ba3
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue