多种tag不进行声调变化

This commit is contained in:
amzxyz
2026-01-07 22:34:20 +08:00
parent f3d9b991ad
commit b688dce044
2 changed files with 218 additions and 3 deletions

View File

@@ -478,11 +478,11 @@ function ZH.func(input, env)
genuine_cand.preedit = table.concat(input_parts)
end
::after_preedit::
apply_tone_preedit(env, genuine_cand)
if should_skip_candidate_comment then
yield(genuine_cand)
goto continue
end
apply_tone_preedit(env, genuine_cand)
-- 进入注释处理阶段
-- ① 辅助码注释或者声调注释
if is_comment_hint then