This commit is contained in:
恍兮惚兮 2024-06-01 00:09:03 +08:00
parent d17eab1f46
commit 0cd736be4e

View File

@ -2360,7 +2360,11 @@ class mdict(cishubase):
diss = {}
import winsharedutils
dedump = set()
for k in index("*" + word + "*"):
if k in dedump:
continue
dedump.add(k)
dis = winsharedutils.distance(k, word)
if dis <= distance:
results.append(k)