Adjust exceptions for same tokenization as v3.1

This commit is contained in:
Adriane Boyd 2021-10-11 14:48:04 +02:00
parent 97fb19d7d3
commit 7251014380

View File

@ -254,6 +254,5 @@ for orth in emoticons:
# Moved from a suffix setting due to #9155 removing prefixes from consideration
# for lookbehinds
for u in "cfk":
BASE_EXCEPTIONS[f"°{u}."] = [{ORTH: f"°{u}"}, {ORTH: "."}]
BASE_EXCEPTIONS[f"°{u.upper()}."] = [{ORTH: f"°{u.upper()}"}, {ORTH: "."}]
for u in "cfkCFK":
BASE_EXCEPTIONS[f"°{u}."] = [{ORTH: "°"}, {ORTH: f"{u}"}, {ORTH: "."}]