mirror of https://github.com/explosion/spaCy.git
Update code example according to new changes
This commit is contained in:
parent
7ec0956e8d
commit
db6e4ba72e
|
@ -394,7 +394,7 @@ p
|
|||
num, denom = text.split('/')
|
||||
if num.isdigit() and denom.isdigit():
|
||||
return True
|
||||
if text in _num_words:
|
||||
if text.lower() in _num_words:
|
||||
return True
|
||||
return False
|
||||
|
||||
|
|
Loading…
Reference in New Issue