|
| 1 | +# Rime schema |
| 2 | +# encoding: utf-8 |
| 3 | + |
| 4 | + |
| 5 | +# 适配了仓输入法 Hamster 九宫格布局。 |
| 6 | +# 参考于仓作者 [morse.hsiao](https://github.com/imfuxiao) 的示例 |
| 7 | +# |
| 8 | +# 如果需要输入英文,将 others/Hamster九宫格/melt_eng.custom.yaml 拷贝至配置目录, |
| 9 | +# 方便 367 输出'iOS'、746 输出'VIP'之类的常用短单词 |
| 10 | + |
| 11 | + |
| 12 | +__include: rime_ice.schema.yaml:/ |
| 13 | + |
| 14 | + |
| 15 | +schema: |
| 16 | + schema_id: t9 |
| 17 | + name: 雾凇拼音·九宫格 |
| 18 | + version: "1" |
| 19 | + author: |
| 20 | + - Dvel |
| 21 | + - '[morse.hsiao](https://github.com/imfuxiao)' |
| 22 | + description: | |
| 23 | + 雾凇拼音·九宫格 for 仓输入法 |
| 24 | + dependencies: |
| 25 | + - melt_eng # 英文输入,作为次翻译器挂载到拼音方案 |
| 26 | + # - liangfen # 两分拼字,作为反查挂载到拼音方案 |
| 27 | + |
| 28 | + |
| 29 | +engine: |
| 30 | + processors: |
| 31 | + # - lua_processor@select_character # 以词定字 |
| 32 | + - ascii_composer |
| 33 | + - recognizer |
| 34 | + - key_binder |
| 35 | + - speller |
| 36 | + - punctuator |
| 37 | + - selector |
| 38 | + - navigator |
| 39 | + - express_editor |
| 40 | + segmentors: |
| 41 | + - ascii_segmentor |
| 42 | + - matcher |
| 43 | + - abc_segmentor |
| 44 | + - punct_segmentor |
| 45 | + - fallback_segmentor |
| 46 | + translators: |
| 47 | + - punct_translator |
| 48 | + - script_translator |
| 49 | + - lua_translator@date_translator # 时间、日期、星期 |
| 50 | + - table_translator@custom_phrase # 自定义短语 custom_phrase.txt |
| 51 | + - table_translator@melt_eng # 英文输入 |
| 52 | + # - reverse_lookup_translator@liangfen # 反查,两分拼字 |
| 53 | + # - lua_translator@unicode # Unicode |
| 54 | + # - lua_translator@number_translator # 数字、金额大写 |
| 55 | + filters: |
| 56 | + # - lua_filter@corrector # 错音错字提示 |
| 57 | + - simplifier@emoji # Emoji |
| 58 | + - simplifier@traditionalize # 简繁切换 |
| 59 | + # - lua_filter@v_filter # v 模式 symbols 优先(否则是英文优先) |
| 60 | + # - lua_filter@autocap_filter # 英文自动大写 |
| 61 | + # - lua_filter@reduce_english_filter # 降低部分英语单词在候选项的位置 |
| 62 | + - uniquifier # 去重 |
| 63 | + |
| 64 | + |
| 65 | +translator: |
| 66 | + prism: t9 |
| 67 | + |
| 68 | + |
| 69 | +# 九宫格 1 键上的符号序列 |
| 70 | +punctuator: |
| 71 | + half_shape: |
| 72 | + "@": [1, "@", ".", "/", ":", "_", "-", "#"] |
| 73 | + |
| 74 | + |
| 75 | +# T9拼音 |
| 76 | +# 大写字母为穷举后T9拼音的模糊匹配 |
| 77 | +# 程序内部通过候选拼音的小写字母进行精确匹配 |
| 78 | +speller: |
| 79 | + algebra: |
| 80 | + - abbrev/^([a-z]).+$/$1/ # 超级简拼 |
| 81 | + # - derive/.+/\U$0/ |
| 82 | + - derive/[abc]/A/ |
| 83 | + - derive/[bc]a/AA/ |
| 84 | + - derive/[bc]ai/AAG/ |
| 85 | + - derive/[bc]an|[bc]ao/AAM/ |
| 86 | + - derive/[bc]ang/AAMG/ |
| 87 | + - derive/ce/AD/ |
| 88 | + - derive/bei/ADG/ |
| 89 | + - derive/[bc]en/ADM/ |
| 90 | + - derive/[bc]eng/ADMG/ |
| 91 | + - derive/[abc]i/AG/ |
| 92 | + - derive/cha/AGA/ |
| 93 | + - derive/chai/AGAG/ |
| 94 | + - derive/bia[no]|cha[no]/AGAM/ |
| 95 | + - derive/chang/AGAMG/ |
| 96 | + - derive/bie|che/AGD/ |
| 97 | + - derive/chen/AGDM/ |
| 98 | + - derive/cheng/AGDMG/ |
| 99 | + - derive/chi/AGG/ |
| 100 | + - derive/bin/AGM/ |
| 101 | + - derive/bing/AGMG/ |
| 102 | + - derive/chong/AGMMG/ |
| 103 | + - derive/chou/AGMT/ |
| 104 | + - derive/chu/AGT/ |
| 105 | + - derive/chua/AGTA/ |
| 106 | + - derive/chuai/AGTAG/ |
| 107 | + - derive/chuan/AGTAM/ |
| 108 | + - derive/chuang/AGTAMG/ |
| 109 | + - derive/chui/AGTG/ |
| 110 | + - derive/chu[no]/AGTM/ |
| 111 | + - derive/a[no]|bo/AM/ |
| 112 | + - derive/ang/AMG/ |
| 113 | + - derive/cong/AMMG/ |
| 114 | + - derive/cou/AMT/ |
| 115 | + - derive/[bc]u/AT/ |
| 116 | + - derive/cuan/ATAM/ |
| 117 | + - derive/cui/ATG/ |
| 118 | + - derive/cu[no]/ATM/ |
| 119 | + - derive/[def]/D/ |
| 120 | + - derive/[df]a/DA/ |
| 121 | + - derive/dai/DAG/ |
| 122 | + - derive/[df]an|dao/DAM/ |
| 123 | + - derive/[df]ang/DAMG/ |
| 124 | + - derive/de/DD/ |
| 125 | + - derive/[df]ei/DDG/ |
| 126 | + - derive/[df]en/DDM/ |
| 127 | + - derive/[df]eng/DDMG/ |
| 128 | + - derive/[de]i/DG/ |
| 129 | + - derive/dia/DGA/ |
| 130 | + - derive/dia[no]/DGAM/ |
| 131 | + - derive/die/DGD/ |
| 132 | + - derive/ding/DGMG/ |
| 133 | + - derive/diu/DGT/ |
| 134 | + - derive/en|fo/DM/ |
| 135 | + - derive/eng/DMG/ |
| 136 | + - derive/dong/DMMG/ |
| 137 | + - derive/[df]ou/DMT/ |
| 138 | + - derive/er/DP/ |
| 139 | + - derive/[df]u/DT/ |
| 140 | + - derive/duan/DTAM/ |
| 141 | + - derive/dui/DTG/ |
| 142 | + - derive/du[no]/DTM/ |
| 143 | + - derive/[ghi]/G/ |
| 144 | + - derive/[gh]a/GA/ |
| 145 | + - derive/[gh]ai/GAG/ |
| 146 | + - derive/[gh]an|[gh]ao/GAM/ |
| 147 | + - derive/[gh]ang/GAMG/ |
| 148 | + - derive/[gh]e/GD/ |
| 149 | + - derive/[gh]ei/GDG/ |
| 150 | + - derive/[gh]en/GDM/ |
| 151 | + - derive/[gh]eng/GDMG/ |
| 152 | + - derive/hm/GM/ |
| 153 | + - derive/[gh]ong/GMMG/ |
| 154 | + - derive/[gh]ou/GMT/ |
| 155 | + - derive/[gh]u/GT/ |
| 156 | + - derive/[gh]ua/GTA/ |
| 157 | + - derive/[gh]uai/GTAG/ |
| 158 | + - derive/[gh]uan/GTAM/ |
| 159 | + - derive/[gh]uang/GTAMG/ |
| 160 | + - derive/[gh]ui/GTG/ |
| 161 | + - derive/[gh]un|[gh]uo/GTM/ |
| 162 | + - derive/[jkl]/J/ |
| 163 | + - derive/[kl]a/JA/ |
| 164 | + - derive/[kl]ai/JAG/ |
| 165 | + - derive/[kl]an|[kl]ao/JAM/ |
| 166 | + - derive/[kl]ang/JAMG/ |
| 167 | + - derive/[kl]e/JD/ |
| 168 | + - derive/[kl]ei/JDG/ |
| 169 | + - derive/ken/JDM/ |
| 170 | + - derive/[kl]eng/JDMG/ |
| 171 | + - derive/[jl]i/JG/ |
| 172 | + - derive/[jl]ia/JGA/ |
| 173 | + - derive/[jl]ian|[jl]iao/JGAM/ |
| 174 | + - derive/[jl]iang/JGAMG/ |
| 175 | + - derive/[jl]ie/JGD/ |
| 176 | + - derive/[jl]in/JGM/ |
| 177 | + - derive/[jl]ing/JGMG/ |
| 178 | + - derive/jiong/JGMMG/ |
| 179 | + - derive/[jl]iu/JGT/ |
| 180 | + - derive/lo/JM/ |
| 181 | + - derive/[kl]ong/JMMG/ |
| 182 | + - derive/[kl]ou/JMT/ |
| 183 | + - derive/[jkl]u|lv/JT/ |
| 184 | + - derive/kua/JTA/ |
| 185 | + - derive/kuai/JTAG/ |
| 186 | + - derive/[jkl]uan/JTAM/ |
| 187 | + - derive/kuang/JTAMG/ |
| 188 | + - derive/jue|lve/JTD/ |
| 189 | + - derive/kui/JTG/ |
| 190 | + - derive/[jkl]un|[kl]uo/JTM/ |
| 191 | + - derive/[mno]/M/ |
| 192 | + - derive/[mn]a/MA/ |
| 193 | + - derive/[mn]ai/MAG/ |
| 194 | + - derive/[mn]an|[mn]ao/MAM/ |
| 195 | + - derive/[mn]ang/MAMG/ |
| 196 | + - derive/[mn]e/MD/ |
| 197 | + - derive/[mn]ei/MDG/ |
| 198 | + - derive/[mn]en/MDM/ |
| 199 | + - derive/[mn]eng/MDMG/ |
| 200 | + - derive/[mn]i/MG/ |
| 201 | + - derive/nia/MGA/ |
| 202 | + - derive/[mn]ian|[mn]iao/MGAM/ |
| 203 | + - derive/niang/MGAMG/ |
| 204 | + - derive/[mn]ie/MGD/ |
| 205 | + - derive/[mn]in/MGM/ |
| 206 | + - derive/[mn]ing/MGMG/ |
| 207 | + - derive/[mn]iu/MGT/ |
| 208 | + - derive/mo/MM/ |
| 209 | + - derive/nong/MMMG/ |
| 210 | + - derive/[mn]ou/MMT/ |
| 211 | + - derive/[mn]u|nv|ou/MT/ |
| 212 | + - derive/nuan/MTAM/ |
| 213 | + - derive/nve/MTD/ |
| 214 | + - derive/nuo/MTM/ |
| 215 | + - derive/[pqrs]/P/ |
| 216 | + - derive/[ps]a/PA/ |
| 217 | + - derive/[ps]ai/PAG/ |
| 218 | + - derive/[prs]an|[prs]ao/PAM/ |
| 219 | + - derive/[prs]ang/PAMG/ |
| 220 | + - derive/[rs]e/PD/ |
| 221 | + - derive/pei/PDG/ |
| 222 | + - derive/[prs]en/PDM/ |
| 223 | + - derive/[prs]eng/PDMG/ |
| 224 | + - derive/[pqrs]i/PG/ |
| 225 | + - derive/pia|sha/PGA/ |
| 226 | + - derive/shai/PGAG/ |
| 227 | + - derive/[pq]ian|[pq]iao|sha[no]/PGAM/ |
| 228 | + - derive/qiang|shang/PGAMG/ |
| 229 | + - derive/[pq]ie|she/PGD/ |
| 230 | + - derive/shei/PGDG/ |
| 231 | + - derive/shen/PGDM/ |
| 232 | + - derive/sheng/PGDMG/ |
| 233 | + - derive/shi/PGG/ |
| 234 | + - derive/[pq]in/PGM/ |
| 235 | + - derive/[pq]ing/PGMG/ |
| 236 | + - derive/qiong/PGMMG/ |
| 237 | + - derive/shou/PGMT/ |
| 238 | + - derive/qiu|shu/PGT/ |
| 239 | + - derive/shua/PGTA/ |
| 240 | + - derive/shuai/PGTAG/ |
| 241 | + - derive/shuan/PGTAM/ |
| 242 | + - derive/shuang/PGTAMG/ |
| 243 | + - derive/shui/PGTG/ |
| 244 | + - derive/shu[no]/PGTM/ |
| 245 | + - derive/po/PM/ |
| 246 | + - derive/[rs]ong/PMMG/ |
| 247 | + - derive/[prs]ou/PMT/ |
| 248 | + - derive/[pqrs]u/PT/ |
| 249 | + - derive/[prs]uan/PTAM/ |
| 250 | + - derive/que/PTD/ |
| 251 | + - derive/[rs]ui/PTG/ |
| 252 | + - derive/[qrs]un|[rs]uo/PTM/ |
| 253 | + - derive/[tuv]/T/ |
| 254 | + - derive/ta/TA/ |
| 255 | + - derive/tai/TAG/ |
| 256 | + - derive/ta[no]/TAM/ |
| 257 | + - derive/tang/TAMG/ |
| 258 | + - derive/te/TD/ |
| 259 | + - derive/teng/TDMG/ |
| 260 | + - derive/ti/TG/ |
| 261 | + - derive/tia[no]/TGAM/ |
| 262 | + - derive/tie/TGD/ |
| 263 | + - derive/ting/TGMG/ |
| 264 | + - derive/tong/TMMG/ |
| 265 | + - derive/tou/TMT/ |
| 266 | + - derive/tu/TT/ |
| 267 | + - derive/tuan/TTAM/ |
| 268 | + - derive/tui/TTG/ |
| 269 | + - derive/tu[no]/TTM/ |
| 270 | + - derive/[wxyz]/W/ |
| 271 | + - derive/[wyz]a/WA/ |
| 272 | + - derive/[wz]ai/WAG/ |
| 273 | + - derive/[wyz]an|[yz]ao/WAM/ |
| 274 | + - derive/[wyz]ang/WAMG/ |
| 275 | + - derive/[yz]e/WD/ |
| 276 | + - derive/[wz]ei/WDG/ |
| 277 | + - derive/[wz]en/WDM/ |
| 278 | + - derive/[wz]eng/WDMG/ |
| 279 | + - derive/[wyz]i/WG/ |
| 280 | + - derive/xia|zha/WGA/ |
| 281 | + - derive/zhai/WGAG/ |
| 282 | + - derive/xia[no]|zha[no]/WGAM/ |
| 283 | + - derive/xiang|zhang/WGAMG/ |
| 284 | + - derive/xie|zhe/WGD/ |
| 285 | + - derive/zhei/WGDG/ |
| 286 | + - derive/zhen/WGDM/ |
| 287 | + - derive/zheng/WGDMG/ |
| 288 | + - derive/zhi/WGG/ |
| 289 | + - derive/[xy]in/WGM/ |
| 290 | + - derive/[xy]ing/WGMG/ |
| 291 | + - derive/xiong|zhong/WGMMG/ |
| 292 | + - derive/zhou/WGMT/ |
| 293 | + - derive/xiu|zhu/WGT/ |
| 294 | + - derive/zhua/WGTA/ |
| 295 | + - derive/zhuai/WGTAG/ |
| 296 | + - derive/zhuan/WGTAM/ |
| 297 | + - derive/zhuang/WGTAMG/ |
| 298 | + - derive/zhui/WGTG/ |
| 299 | + - derive/zhu[no]/WGTM/ |
| 300 | + - derive/[wy]o/WM/ |
| 301 | + - derive/[yz]ong/WMMG/ |
| 302 | + - derive/[yz]ou/WMT/ |
| 303 | + - derive/[wxyz]u/WT/ |
| 304 | + - derive/[wyz]uan/WTAM/ |
| 305 | + - derive/[xy]ue/WTD/ |
| 306 | + - derive/zui/WTG/ |
| 307 | + - derive/[xyz]un|zuo/WTM/ |
0 commit comments