mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-28 08:04:13 +08:00
dump
This commit is contained in:
parent
d17eab1f46
commit
0cd736be4e
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user