feat: corrector.lua 不处理 Unicode 的 comment
This commit is contained in:
parent
20c90d1ee1
commit
4b6659a33a
@ -65,8 +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
|
||||
elseif cand.type == "reverse_lookup" or cand.type == "unicode" then
|
||||
-- 不处理反查和 Unicode 的 comment
|
||||
else
|
||||
cand:get_genuine().comment = ""
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user