mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 01:16:28 +03:00
Exclude new ° exceptions for pl
This commit is contained in:
parent
ee6acd7e9d
commit
952013a5b4
|
@ -12,7 +12,9 @@ from ...language import Language
|
||||||
|
|
||||||
|
|
||||||
TOKENIZER_EXCEPTIONS = {
|
TOKENIZER_EXCEPTIONS = {
|
||||||
exc: val for exc, val in BASE_EXCEPTIONS.items() if not exc.endswith(".")
|
exc: val
|
||||||
|
for exc, val in BASE_EXCEPTIONS.items()
|
||||||
|
if not exc.endswith(".") and not exc.startswith("°")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user