mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +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():
|
||||
_exc[string.title()] = norm
|
||||
|
||||
|
||||
NORM_EXCEPTIONS = _exc
|
||||
NORM_EXCEPTIONS[string.title()] = norm
|
||||
|
|
Loading…
Reference in New Issue
Block a user