Revert hyphens

This commit is contained in:
Ines Montani 2019-03-09 12:51:53 +01:00
parent bbabb6aaae
commit 610fb306bd
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 = (