mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
Escape more hyphens
This commit is contained in:
parent
b8db219850
commit
bbabb6aaae
|
@ -7,7 +7,7 @@ from ..char_classes import CONCAT_QUOTES, UNITS, ALPHA, ALPHA_LOWER, ALPHA_UPPER
|
|||
|
||||
|
||||
ELISION = " ' ’ ".strip().replace(" ", "").replace("\n", "")
|
||||
HYPHENS = r"- – — ‐ ‑".strip().replace(" ", "").replace("\n", "")
|
||||
HYPHENS = r"\- – — ‐ ‑".strip().replace(" ", "").replace("\n", "")
|
||||
|
||||
|
||||
_suffixes = (
|
||||
|
|
Loading…
Reference in New Issue
Block a user