mirror of https://github.com/explosion/spaCy.git
Try escaping hyphens again
This commit is contained in:
parent
3f01228253
commit
a145bfe627
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue