issues/770

This commit is contained in:
恍兮惚兮 2024-05-25 17:17:10 +08:00
parent 6213fddc0e
commit 0ab032c15a

View File

@ -42,7 +42,7 @@ class TS(basetrans):
if globalconfig["premtsimiuse"]:
maxsim = 0
for jc in self.json:
dis = winsharedutils.distance(content, jc)
dis = winsharedutils.distance_ratio(content, jc)
if dis > maxsim:
maxsim = dis
if maxsim * 100 >= globalconfig["premtsimi2"]: