feat: corrector.lua 不处理反查的 comment

This commit is contained in:
Dvel 2023-08-07 19:56:33 +08:00
parent 01e1dcd290
commit 2c8feada84

View File

@ -65,6 +65,8 @@ local function corrector(input)
local c = corrections[cand.comment]
if c and cand.text == c.text then
cand:get_genuine().comment = c.comment
elseif cand.type == "reverse_lookup" then
-- 不处理反查的 comment
else
cand:get_genuine().comment = ""
end