差異處
這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
it:rime:liu [2019/03/19 01:53] ghsrobert |
it:rime:liu [2021/07/16 18:27] (目前版本) ghsrobert 留意擴充詞表檔中的 YAML indent |
||
---|---|---|---|
行 1: | 行 1: | ||
- | ====== | + | ====== |
+ | |||
+ | ===== 嘗試 | ||
* [[https:// | * [[https:// | ||
* 【介紹】[[https:// | * 【介紹】[[https:// | ||
行 5: | 行 7: | ||
* [[https:// | * [[https:// | ||
* 但不太知道怎麼安裝及自訂,且功能複雜很多 %%@@%%(作者厲害啊) | * 但不太知道怎麼安裝及自訂,且功能複雜很多 %%@@%%(作者厲害啊) | ||
+ | * / | ||
+ | - 寄 PTT 站內信給作者,得知手動安裝的話,''/ | ||
+ | - 先不管 default.custom.yaml,只單純加入 '' | ||
+ | - 原來不支援簡拼,可惜。我想要的「簡拼嘸蝦米」可能得參考 Rime 官方的倉頡方案了 | ||
+ | - 候選字清單中除了目前可組的字外,也會提示再打什麼碼可以組出其他的字,這應該是 Rime 本身的能力吧?太強大了 | ||
+ | - 打標點符號遇到問題,``.`` 無法正常出來 | ||
+ | - ``Caps Lock`` 及 ``⇧`` 都可用來切換英/ | ||
+ | - 連續的大寫字母的話是按空白鍵出來 | ||
+ | - ``%%`%%`` 鍵叫出拼音模式 | ||
+ | - 第一次使用 Rime 的反查模式,挺不錯的 | ||
+ | - 簡體漢字、日體漢字、擴充漢字也整合在一起幾乎都可以直接打 | ||
+ | - 【結論】這個「蝦米輸入法」相當程度可替代官蝦 | ||
+ | * 問題 | ||
+ | * <typo bg:green; fc: | ||
+ | key_binder: | ||
+ | bindings: | ||
+ | __patch: | ||
+ | - key_bindings:/ | ||
+ | - key_bindings:/ | ||
+ | - key_bindings:/ | ||
+ | # - key_bindings:/ | ||
+ | - key_bindings:/ | ||
+ | * 數字選序都會比官蝦偏離 1 個/, | ||
+ | * [[https:// | ||
+ | * 照他的修正,動態造詞可以用了~ | ||
+ | * / | ||
+ | * / | ||
+ | * 之前的 myliu 特殊符號碼序如何?← 更慘,缺很多特殊符號耶。myliu.dict 檔案大小 313 KB,liur_Trad.dict 就有 341 KB | ||
+ | * 另外,剛好前兩天教會弟兄也回饋給我一份前人做的 CIN 檔,也許研究看看那份詞庫 | ||
+ | * 還有也許我也自己再從官網去下載工具或自己轉檔 → 丟給 chitsaou 的 rime-boshiamy,結果還不錯,碼序看來都是對的,和官蝦一樣,只是少了 liur 的很多功能,不過漢拉混打、``⇧`` 切換漢拉是有的。真好奇為什麼 liur 會有碼序跑掉的問題? | ||
+ | |||
+ | ===== 方案 ===== | ||
+ | * [[https:// | ||
+ | * 但當年也有一些不錯的研發及嘗試,像試著做連打/ | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * 又有高手再 fork 這個,可自動安裝,並且大幅整理過![[https:// | ||
+ | * [[https:// | ||
+ | * 同作者的 [[https:// | ||
+ | * 新舊版都下載來比較了一下,碼表一模一樣,只有 schema.yaml 稍有增補而已 | ||
+ | |||
+ | ===== 安裝 ===== | ||
+ | 根據先前嘗試的經驗,整理如下: | ||
+ | - 先跑完++鼠鬚管的安裝|{{page> | ||
+ | - 下載 [[https:// | ||
+ | * 若照 afrink 的說法,/ | ||
+ | default.custom.yaml | ||
+ | liur_customWords.dict.yaml | ||
+ | liur_Japan.dict.yaml | ||
+ | liur_Trad.dict.yaml | ||
+ | liur_TradExt.dict.yaml | ||
+ | liur_TradToSimp.dict.yaml | ||
+ | liur.custom.yaml | ||
+ | liur.extended.dict.yaml | ||
+ | liur.schema.yaml | ||
+ | squirrel.custom.yaml | ||
+ | weasel.custom.yaml | ||
+ | opencc/ | ||
+ | opencc/ | ||
+ | opencc/ | ||
+ | opencc/ | ||
+ | </ | ||
+ | - 重新部署鼠鬚管就可以使用了 | ||
+ | |||
+ | ===== 功能 ===== | ||
+ | 〔以 liur 為主〕 | ||
+ | * / | ||
+ | * 手動造詞(用每字的首碼組成):``; | ||
+ | * <span ex> | ||
+ | * 若不小心造錯了詞或想刪某詞:打出該詞但不要按 `` `` 送出,而是按 ``⌃⌦`` 即可刪去 | ||
+ | * 自行加詞(更自由,相當於官蝦的「加字加詞)): | ||
+ | * 我試過直接放 liur.extended.dict.yaml 應該就行了,但 hsuanyi-chou 說要放在 liur_customWords.dict.yaml 裡;anyway 我還是先放前者裡,有「人工編碼詞」段落 | ||
+ | * ↑⚠️ 注意這個檔案中,詞組之間要用 tab,但其他 YAML 部分的縮排 indent 還是要用兩個兩個空格。Sublime Text 之類的編輯器可以自動轉換 indent,如果不小心把 YAML 的空格縮進轉換成 tab,部署 Rime 時就會出錯!要小心!⚠️ | ||
+ | |||
+ | ===== 調整 ===== | ||
+ | * 若下載的是 [[https:// | ||
+ | |||
+ | ^ 剛裝好 hsuanyi-chou 版的狀態 | ||
+ | | 組碼沒有顯示在輸入區 | squirrel.custom.yaml:'' | ||
+ | | mac_white2 主題……我不行 | 改 squirrel.custom.yaml 的 '' | ||
+ | | Times New Roman 字型……我不行 | 改 squirrel.custom.yaml 的 '' | ||
+ | | 其他各項候選框樣式設定 | 改 squirrel.custom.yaml 的 '' | ||
+ | # style/ | ||
+ | # style/ | ||
+ | style/ | ||
+ | style/ | ||
+ | style/ | ||
+ | style/ | ||
+ | style/ | ||
+ | style/ | ||
+ | # style/ | ||
+ | style/ | ||
+ | style/ | ||
+ | style/ | ||
+ | style/ | ||
+ | </ | ||
+ | | 選字號碼與官蝦差 1 | 在 liur.custom.yaml 中加入< | ||
+ | menu: | ||
+ | alternative_select_keys: | ||
+ | </ | ||
+ | | 啟用日文漢字 | 在 liur.extended.dict.yaml 中把 ''# | ||
+ | | 候選視窗每頁項目數 | default.custom.yaml((其實 liur 的這個檔是用 Weasel 產生的)) 中設定 '' | ||
+ | | 各項熱鍵 | default.custom.yaml:\\ 想直接用:< | ||
+ | key_binder: | ||
+ | bindings: | ||
+ | ... | ||
+ | __patch: | ||
+ | - key_bindings:/ | ||
+ | - key_bindings:/ | ||
+ | </ | ||
+ | key_binder: | ||
+ | bindings: | ||
+ | ... | ||
+ | # | ||
+ | - { when: has_menu, accept: minus, send: Page_Up } | ||
+ | - { when: has_menu, accept: equal, send: Page_Down } | ||
+ | # | ||
+ | - { when: always, accept: Control+Shift+1, | ||
+ | - { when: always, accept: Control+Shift+2, | ||
+ | - { when: always, accept: Control+Shift+3, | ||
+ | - { when: always, accept: Control+Shift+4, | ||
+ | - { when: always, accept: Control+Shift+5, | ||
+ | - { when: always, accept: Control+Shift+exclam, | ||
+ | - { when: always, accept: Control+Shift+at, | ||
+ | - { when: always, accept: Control+Shift+numbersign, | ||
+ | - { when: always, accept: Control+Shift+dollar, | ||
+ | - { when: always, accept: Control+Shift+percent, | ||
+ | </ | ||
+ | | 摺疊選單選項 | default.custom.yaml:< | ||
+ | switcher: | ||
+ | abbreviate_options: | ||
+ | fold_options: | ||
+ | option_list_separator: | ||
+ | </ | ||
+ | | 將大寫字母排除在組字碼外,大寫字母直接上字 | FIXME | | ||
+ | | 用 ``=````-`` 翻頁 | 同上「各項熱鍵」 | | ||
+ | |||
+ | ---- | ||
+ | / | ||
+ | |||
+ | ===== 自訂 ===== | ||
+ | * 某些軟體內改為拉丁字母優先,或優先打出半形標點,或預設打出簡體字:xxxxxxx.custom.yaml 內設定< | ||
+ | app_options: | ||
+ | " | ||
+ | ascii_mode: true | ||
+ | ascii_punct: | ||
+ | simplification: | ||
+ | </ | ||
+ | * Welly:'' | ||
+ | * 自製擴充的 table | ||
+ | - 弄 < | ||
+ | - 在 liur.extended.dict.yaml 中用 '' | ||
+ | |||
+ | ===== 碼表 ===== | ||
+ | - 買官蝦 → 自己取出轉檔 | ||
+ | - 現成 | ||
+ | - 貢獻 [[https:// | ||
+ | ===== 問題 ===== | ||
+ | * / | ||
+ | * / | ||
+ | * liur 的一些特殊符號碼序似乎會隨著使用過程而變得與官蝦不同? | ||
+ | * / | ||
+ | * 字序果然和官蝦是一樣的! | ||
+ | * 也是會自動產生 liur.txt,而且內容和之前的一模一樣,真神奇。不過目前好像不影響詞序。不知道常選我要的詞以後會不會改變。 | ||
+ | * / | ||
+ | - 字序會不會變,關係在於 liur.extended.dict 內有沒有開啟 liur_Japan,開啟的話字序就不對了 | ||
+ | * afrink 說可能要用 openxiami。我試了一下,新的 openxiami_TCJP.dict 字序比較正確 | ||
+ | - 在重新部署前,要把 /build 也刪掉,才會重新產生 liur.txt/, |