aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2020-11-10 18:35:10 +0100
committerMartin Czygan <martin.czygan@gmail.com>2020-11-10 18:35:10 +0100
commit98bf92d16f7aadcf640e3260e02580db2636f064 (patch)
tree6a12d82ef46bb4ba874c5923ddedd6da8afeabf1
parent62fa4b76ca42692c8ccdf8a0dd9b1c03b2be66a4 (diff)
downloadfuzzycat-98bf92d16f7aadcf640e3260e02580db2636f064.tar.gz
fuzzycat-98bf92d16f7aadcf640e3260e02580db2636f064.zip
fix slug
-rw-r--r--fuzzycat/cluster.py2
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)