mirror of https://github.com/explosion/spaCy.git
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", "")
|
ELISION = " ' ’ ".strip().replace(" ", "").replace("\n", "")
|
||||||
HYPHENS = r"- – — ‐ ‑".strip().replace(" ", "").replace("\n", "")
|
HYPHENS = r"\- – — ‐ ‑".strip().replace(" ", "").replace("\n", "")
|
||||||
|
|
||||||
|
|
||||||
_suffixes = (
|
_suffixes = (
|
||||||
|
|
Loading…
Reference in New Issue