aboutsummaryrefslogtreecommitdiffstats
path: root/fuzzycat
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-09-13 17:52:13 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-09-13 18:30:41 +0200
commit9a7465c5c402a2ddad0abc15015c61a1a76d6485 (patch)
tree31a07581f99b99038bf1b0a896d06c7a9470b192 /fuzzycat
parentbd9508c60d960784c320fdfb0d7b42099de5145a (diff)
downloadfuzzycat-9a7465c5c402a2ddad0abc15015c61a1a76d6485.tar.gz
fuzzycat-9a7465c5c402a2ddad0abc15015c61a1a76d6485.zip
remove dependency on fuzzy; use jellyfish
Diffstat (limited to 'fuzzycat')
-rw-r--r--fuzzycat/cluster.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fuzzycat/cluster.py b/fuzzycat/cluster.py
index 542284c..7994be7 100644
--- a/fuzzycat/cluster.py
+++ b/fuzzycat/cluster.py
@@ -71,7 +71,7 @@ import unicodedata
from dataclasses import dataclass
from typing import IO, Any, Callable, Dict, Generator, List, Optional, Tuple
-import fuzzy
+import jellyfish
import regex
import zstandard
@@ -122,7 +122,7 @@ def release_key_title_nysiis(doc: KeyDoc) -> Tuple[str, str]:
Use NYSIIS New York State Identification and Intelligence System.
"""
ident, title = release_key_title(doc)
- return (ident, fuzzy.nysiis(title))
+ return (ident, jellyfish.nysiis(title))
# from http://zderadicka.eu/removing-diacritics-marks-from-strings/