Exclude new ° exceptions for pl

This commit is contained in:
Adriane Boyd 2021-10-19 10:07:30 +02:00
parent ee6acd7e9d
commit 952013a5b4

View File

@ -12,7 +12,9 @@ from ...language import Language
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("°")
}