mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-13 18:56:36 +03:00
Populate norm exceptions with lower-case
This commit is contained in:
parent
f6955a459c
commit
de3954843e
|
@ -1757,4 +1757,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
Block a user