mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
Revert "Experiment with escaping hyphens"
This reverts commit 9b42e2d5dd
.
This commit is contained in:
parent
9b42e2d5dd
commit
65402c3d02
|
@ -215,7 +215,7 @@ _punct = (
|
|||
r"… …… , : ; \! \? ¿ ؟ ¡ \( \) \[ \] \{ \} < > _ # \* & 。 ? ! , 、 ; : ~ · । ، ؛ ٪"
|
||||
)
|
||||
_quotes = r'\' " ” “ ` ‘ ´ ’ ‚ , „ » « 「 」 『 』 ( ) 〔 〕 【 】 《 》 〈 〉'
|
||||
_hyphens = r"\- – — \-\- \-\-\- —— ~"
|
||||
_hyphens = "- – — -- --- —— ~"
|
||||
|
||||
# Various symbols like dingbats, but also emoji
|
||||
# Details: https://www.compart.com/en/unicode/category/So
|
||||
|
|
Loading…
Reference in New Issue
Block a user