diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2020-11-10 17:55:58 +0100 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2020-11-10 17:55:58 +0100 |
commit | c85e128efc973420b86d7ccf550d39907466f5e1 (patch) | |
tree | 666a5b44ceb1c94aa1695a4627912c5a43b0255d | |
parent | 03451116d7a2d9b03ce3c2352d7246418459d924 (diff) | |
download | fuzzycat-c85e128efc973420b86d7ccf550d39907466f5e1.tar.gz fuzzycat-c85e128efc973420b86d7ccf550d39907466f5e1.zip |
python 3 has ascii_letters
-rw-r--r-- | fuzzycat/cluster.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fuzzycat/cluster.py b/fuzzycat/cluster.py index 4ccf8a9..fc922c8 100644 --- a/fuzzycat/cluster.py +++ b/fuzzycat/cluster.py @@ -53,7 +53,7 @@ class KeyDoc(BaseModel): get_ident_title = operator.itemgetter("ident", "title") ws_replacer = str.maketrans({"\t": " ", "\n": " "}) non_word_re = re.compile(r'[\W_]+', re.UNICODE) -printable_no_punct = string.digits + string.letters + string.whitespace +printable_no_punct = string.digits + string.ascii_letters + string.whitespace def slugify_string(s: str) -> str: |