善解:結合神經重排的開源注音輸入法
Shanjie: An Open-Source Zhuyin Input Method with Neural Reranking
- 作者
- Nanako Tsai
- 版本
- v1
- 公開日期
- 描述的系統
- 善解 v0.7.0(2026-11-11 發佈)
- 授權
- CC BY 4.0
這篇論文寫什麼
論文描述 v0.7.0 的選字流程:每一鍵跑一次的分層 n-gram 解碼器,後面接一個約 1,465 萬參數的字元語言模型,它只能重排解碼器的前 8 名。每一條決策規則都寫成分數公式。
它回答三個問題:第一名正確率靠什麼往上、小模型要照什麼規則才能改掉解碼器的第一名、在開發資料上選出來的結果能信到什麼程度。試過、沒過標準的做法也逐項列出。
摘要(英文)
Zhuyin (Bopomofo) input is a syllable sequence, and the input method must pick, among all homophonous strings, the one the user meant. We present Shanjie (善解), an open-source macOS Zhuyin input method, as shipped in v0.7.0 (2026-11-11), and ask what improves its character selection. The system is a layered n-gram decoder followed by a 14.6M-parameter character language model that may only re-rank the decoder's 8 best paths behind a margin gate. Our main finding is that gains came from training text in the right register and how the re-ranker's score is fused with the decoder's, not from a larger neural component: the largest release step is the model generation rebuilt with forum and chat-channel text, while a larger re-ranker, long left context, listwise and distillation objectives and LLM judges all failed pre-specified criteria, and re-rankers retrained with the same recipe swap 65–100 rows of a chat set with a net within ±12, a noise floor most model changes did not clear. Components were accepted by paired statistics; confirmations, pre-registered since 2026-10-18, run once on unseen data. Of 13 one-shot confirmations run, 8 held and 5 did not. Among changes shipped without one, the largest step, an earlier reading term and lexicon packs were judged, where numbers exist, on check or seen sets. On the author's 4,958-clause chat development set, seen during value selection, first-choice accuracy rose from 84.89% to 94.07% in the chat profile between v0.4.0 and v0.7.0 (83.56% to 93.71% in the written profile). On the release-monitoring hold-out, v0.5.0→v0.6.0 moved the public colloquial half from 115 to 124 of 150 (exact McNemar p = 0.012; that half's fifth reported use) and the newly activated news half from 125 to 128 (p = 0.25); v0.6.1→v0.7.0 moved them to 127 (p = 0.25) and 126 (p = 0.63). All evidence is from one user's chat register and tool-generated readings.
中文摘要在閱讀版的開頭。
下載
| 檔案 | 語言 | 頁數 | 大小 |
|---|---|---|---|
| shanjie-v1-en.pdf | 英文 | 47 | 409 kB |
| shanjie-v1-zh.pdf | 繁體中文 | 38 | 711 kB |
兩份的結構與數字相同。繁體中文另有網頁閱讀版,章節、表格與公式的編號和 PDF 一致。
引用
純文字
Nanako Tsai. 2026. Shanjie: An Open-Source Zhuyin Input Method with Neural Reranking. Version 1, 2026-11-12. https://bopomola.nyanako.com/paper
BibTeX
@misc{tsai2026shanjie,
author = {Tsai, Nanako},
title = {Shanjie: An Open-Source Zhuyin Input Method with Neural Reranking},
year = {2026},
month = nov,
note = {Version 1, 2026-11-12},
url = {https://bopomola.nyanako.com/paper}
}
授權
- 論文(兩份 PDF 與閱讀版):創用 CC 姓名標示 4.0 國際(CC BY 4.0)。轉載、翻譯、改作都可以,請標示作者與出處。
- 程式碼:Apache-2.0。
- 模型與詞庫:照各自發佈時寫明的授權,整理在開源與授權。
版本
這一版是 v1。v1 的網址與檔名固定,內容不再更動;日後修訂會用新的版本號與新的檔名,舊版的檔案留在原本的網址。
公開的模型與程式
- 論文裡的模型檔隨每一版 App 發佈,另有各代模型的資料類發佈:GitHub Releases 。
- 原始碼、評測工具與公開的評測集:github.com/Nanako0129/BopoMola 。
- 論文引用的研究摘錄:docs/research-excerpt.md 。