From 53abf759ad035ad64d4cfb1f0ae3ced1a6e00522 Mon Sep 17 00:00:00 2001 From: muratjumashev Date: Sun, 24 Jan 2021 20:54:22 +0600 Subject: [PATCH] Fix punctuation --- spacy/lang/ky/punctuation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spacy/lang/ky/punctuation.py b/spacy/lang/ky/punctuation.py index 9ee66a59e..22c2061ca 100644 --- a/spacy/lang/ky/punctuation.py +++ b/spacy/lang/ky/punctuation.py @@ -16,6 +16,7 @@ _infixes = ( r"(?<=[{a}]),(?=[{a}])".format(a=ALPHA), r"(?<=[{a}])([{q}\)\]\(\[])(?=[\-{a}])".format(a=ALPHA, q=CONCAT_QUOTES), r"(?<=[{a}])(?:{h})(?=[{a}])".format(a=ALPHA, h=_hyphens_no_dash), + r"(?<=[0-9])-(?=[{a}])".format(a=ALPHA), r"(?<=[0-9])-(?=[0-9])", ] )