diff --git a/LunaTranslator/LunaTranslator/translator/rengong.py b/LunaTranslator/LunaTranslator/translator/rengong.py index fa76214c..4e623691 100644 --- a/LunaTranslator/LunaTranslator/translator/rengong.py +++ b/LunaTranslator/LunaTranslator/translator/rengong.py @@ -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"]: