diff --git a/spacy/lang/char_classes.py b/spacy/lang/char_classes.py index cb2e817d5..4a5ee6d67 100644 --- a/spacy/lang/char_classes.py +++ b/spacy/lang/char_classes.py @@ -215,7 +215,7 @@ _punct = ( r"… …… , : ; \! \? ¿ ؟ ¡ \( \) \[ \] \{ \} < > _ # \* & 。 ? ! , 、 ; : ~ · । ، ؛ ٪" ) _quotes = r'\' " ” “ ` ‘ ´ ’ ‚ , „ » « 「 」 『 』 ( ) 〔 〕 【 】 《 》 〈 〉' -_hyphens = "- – — -- --- —— ~" +_hyphens = r"\- – — \-\- \-\-\- —— ~" # Various symbols like dingbats, but also emoji # Details: https://www.compart.com/en/unicode/category/So