This commit is contained in:
simon987 2021-11-16 11:36:17 -05:00
parent e1537297d7
commit 1ce795a759

View File

@ -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 = ".,;:\"!?/()|*=>"