mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-13 10:46:29 +03:00
Fix update of norm exceptions
This commit is contained in:
parent
94e063ae2a
commit
5bd311c77e
|
@ -1754,8 +1754,7 @@ _exc = {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
NORM_EXCEPTIONS = {}
|
||||||
|
|
||||||
for string, norm in _exc.items():
|
for string, norm in _exc.items():
|
||||||
_exc[string.title()] = norm
|
NORM_EXCEPTIONS[string.title()] = norm
|
||||||
|
|
||||||
|
|
||||||
NORM_EXCEPTIONS = _exc
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user