mirror of https://github.com/explosion/spaCy.git
Also include lowercase norm exceptions
This commit is contained in:
parent
3c4e3ade30
commit
70f4e8adf3
|
@ -14,4 +14,5 @@ _exc = {
|
||||||
NORM_EXCEPTIONS = {}
|
NORM_EXCEPTIONS = {}
|
||||||
|
|
||||||
for string, norm in _exc.items():
|
for string, norm in _exc.items():
|
||||||
|
NORM_EXCEPTIONS[string] = norm
|
||||||
NORM_EXCEPTIONS[string.title()] = norm
|
NORM_EXCEPTIONS[string.title()] = norm
|
||||||
|
|
Loading…
Reference in New Issue