parent
e0a504af19
commit
67709ee7cf
@ -22,7 +22,8 @@ local function reduce_english_filter(input, env)
|
||||
local index = 0
|
||||
for cand in input:iter() do
|
||||
index = index + 1
|
||||
if string.lower(cand.text) == code then
|
||||
-- 定位匹配的英文词
|
||||
if not string.find(cand.preedit, " ") then
|
||||
table.insert(pending_cands, cand)
|
||||
else
|
||||
yield(cand)
|
||||
|
Loading…
x
Reference in New Issue
Block a user