ai-content-maker/.venv/Lib/site-packages/spacy/lang/lij/punctuation.py

12 lines
269 B
Python
Raw Normal View History

2024-05-03 04:18:51 +03:00
from ..char_classes import ALPHA
from ..punctuation import TOKENIZER_INFIXES
ELISION = " ' ".strip().replace(" ", "").replace("\n", "")
_infixes = TOKENIZER_INFIXES + [
r"(?<=[{a}][{el}])(?=[{a}])".format(a=ALPHA, el=ELISION)
]
TOKENIZER_INFIXES = _infixes