mirror of
https://github.com/simon987/hexlib.git
synced 2025-04-04 02:12:59 +00:00
...
This commit is contained in:
parent
e1537297d7
commit
1ce795a759
@ -59,7 +59,7 @@ def _transform_trigram(ngram_seq, ngrams):
|
||||
SINGLE_QUOTES = ("’", "`")
|
||||
SINGLE_QUOTE_TRANS = str.maketrans("".join(SINGLE_QUOTES), "".join(repeat("'", len(SINGLE_QUOTES))))
|
||||
|
||||
DASHES = ("–", "⸺", "–")
|
||||
DASHES = ("–", "⸺", "–", "—")
|
||||
DASHES_TRANS = str.maketrans("".join(DASHES), "".join(repeat("-", len(DASHES))))
|
||||
|
||||
PUNCTUATION = ".,;:\"!?/()|*=>"
|
||||
|
Loading…
x
Reference in New Issue
Block a user