diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2020-11-10 18:35:10 +0100 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2020-11-10 18:35:10 +0100 |
commit | 98bf92d16f7aadcf640e3260e02580db2636f064 (patch) | |
tree | 6a12d82ef46bb4ba874c5923ddedd6da8afeabf1 | |
parent | 62fa4b76ca42692c8ccdf8a0dd9b1c03b2be66a4 (diff) | |
download | fuzzycat-98bf92d16f7aadcf640e3260e02580db2636f064.tar.gz fuzzycat-98bf92d16f7aadcf640e3260e02580db2636f064.zip |
fix slug
-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 fc922c8..201ee28 100644 --- a/fuzzycat/cluster.py +++ b/fuzzycat/cluster.py @@ -102,7 +102,7 @@ def release_key_title_ngram(doc: KeyDoc, n=3) -> Tuple[str, str]: plus authors. TODO(miku): authors. """ ident, title = get_ident_title(doc) - slug_title = slug_title(title) + slug_title = slugify_string(title) tokens = slug_title.split() if len(tokens) < 2 * n: key = ''.join(tokens) |