feat: corrector.lua 不处理反查的 comment
This commit is contained in:
parent
01e1dcd290
commit
2c8feada84
@ -65,6 +65,8 @@ local function corrector(input)
|
|||||||
local c = corrections[cand.comment]
|
local c = corrections[cand.comment]
|
||||||
if c and cand.text == c.text then
|
if c and cand.text == c.text then
|
||||||
cand:get_genuine().comment = c.comment
|
cand:get_genuine().comment = c.comment
|
||||||
|
elseif cand.type == "reverse_lookup" then
|
||||||
|
-- 不处理反查的 comment
|
||||||
else
|
else
|
||||||
cand:get_genuine().comment = ""
|
cand:get_genuine().comment = ""
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user