From 817b0db52132d3a1060e7876f1894554da783673 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Sat, 30 Jan 2021 12:39:58 +1100 Subject: [PATCH] Fix escape sequence --- spacy/lang/lt/punctuation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/lang/lt/punctuation.py b/spacy/lang/lt/punctuation.py index 506aa8f32..22aee0941 100644 --- a/spacy/lang/lt/punctuation.py +++ b/spacy/lang/lt/punctuation.py @@ -19,7 +19,7 @@ _infixes = ( ) -_suffixes = ["\."] + list(TOKENIZER_SUFFIXES) +_suffixes = [r"\."] + list(TOKENIZER_SUFFIXES) TOKENIZER_INFIXES = _infixes