mirror of
https://github.com/simon987/hexlib.git
synced 2025-04-04 02:12:59 +00:00
Add more single quotes
This commit is contained in:
parent
55fd4a66d2
commit
90d434ec73
@ -56,7 +56,7 @@ def _transform_trigram(ngram_seq, ngrams):
|
||||
yield ngram[0]
|
||||
|
||||
|
||||
SINGLE_QUOTES = ("’", "`")
|
||||
SINGLE_QUOTES = ("’", "`", "‘")
|
||||
SINGLE_QUOTE_TRANS = str.maketrans("".join(SINGLE_QUOTES), "".join(repeat("'", len(SINGLE_QUOTES))))
|
||||
|
||||
DASHES = ("–", "⸺", "–", "—")
|
||||
|
Loading…
x
Reference in New Issue
Block a user