mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 09:56:28 +03:00
Experiment with escaping hyphens
This commit is contained in:
parent
6708df3d2c
commit
9b42e2d5dd
|
@ -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
Block a user