-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathwanxiang.schema.yaml
executable file
·1040 lines (991 loc) · 34.3 KB
/
wanxiang.schema.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# Rime schema
# encoding: utf-8
# 方案说明
########################万象拼音无辅助码版本,支持同文8、14、18键 ###########################
set_shuru_schema: #配置此项就是选择什么输入法,同时拆分反查和中英文混输也将匹配该输入方案
__include: 自然码 #可选解码规则有 全拼, 自然码, 自然龙, 小鹤, 紫光, 搜狗, 微软, ABC 选择一个填入
set_gongjian_mohu: #可选的值有:18键, 14键, 9键, 26键 ,PC请选26键
__include: 26键
pro_comment_format: # 超级注释模块
candidate_length: 1 # 候选词注释提醒的生效长度,0为关闭 但同时清空其它,应当使用开关或者快捷键来处理
corrector_type: "{comment}" #错音错词提示显示类型,比如"({comment})"
########################以下是方案配置######################################################
schema:
schema_id: wanxiang
name: 万象拼音
version: "2024-11-11"
author:
- amzxyz
description: |
万象拼音间接辅助码版本,带音调的词库,更好用!
dependencies:
- melt_eng # 英文输入,作为次翻译器挂载到拼音方案
- radical_pinyin # 部件拆字,反查及辅码
- stroke #笔画反查
- charset #字符集过滤器
# 开关
# reset: 默认状态。注释掉后,切换窗口时不会重置到默认状态。
# states: 方案选单显示的名称。可以注释掉,仍可以通过快捷键切换。
# abbrev: 默认的缩写取 states 的第一个字符,abbrev 可自定义一个字符
switches:
- name: ascii_mode
states: [ 中, 英 ]
- name: ascii_punct # 中英标点
states: [ ¥, $ ]
- name: traditionalization
states: [ 简, 繁 ]
- name: full_shape
states: [ 半, 全 ]
- name: emoji
states: [ 💀, 😄 ]
reset: 1
- name: chinese_english
states: [ 译, 翻 ]
- name: tone_display
states: [ 调, 声 ]
reset: 1
- name: pinyinhint
states: [ 音, 读 ]
reset: 0
- name: charset_filter
states: [ 小, 大 ]
reset: 0
- name: search_single_char # search.lua 的功能开关,辅码查词时是否单字优先
states: [词, 单]
# 输入引擎
engine:
processors:
- lua_processor@*select_character # 以词定字
- lua_processor@*cold_word_drop.processor
- lua_processor@*quick_symbol_text #快符引导以及重复上屏
- lua_processor@*userdb_sync_delete #通过输入 /del 触发,用于清理自定义同步目录下txt用户词典里被标记c<0的词条
- ascii_composer
- recognizer
- key_binder
- lua_processor@*key_binder # 绑定按键扩展能力
- speller
- punctuator
- selector
- navigator
- express_editor
segmentors:
- ascii_segmentor
- matcher
- abc_segmentor
- affix_segmentor@radical_lookup # 部件拆字自定义 tag
- affix_segmentor@reverse_stroke #笔画反查
- affix_segmentor@add_user_dict
- punct_segmentor
- fallback_segmentor
translators:
- punct_translator
- script_translator
- lua_translator@*date_translator # 时间、日期、星期
- lua_translator@*lunar # 农历
- lua_translator@*unicode # Unicode
- lua_translator@*number_translator # 数字、金额大写
- lua_translator@*calculator # 计算器
- table_translator@custom_phrase # 自定义短语 custom_phrase.txt
- table_translator@melt_eng # 英文输入
- table_translator@cn_en # 中英混合词汇
- table_translator@chengyu # 简码成语
- table_translator@radical_lookup # 部件拆字反查
- table_translator@reverse_stroke #笔画反查
- script_translator@user_dict_set
- script_translator@add_user_dict
- lua_translator@*force_gc # 暴力 GC 降低内存
filters:
- lua_filter@*chars_filter #字符集过滤
- lua_filter@*cold_word_drop.filter
- lua_filter@*long_word_filter #长词优先
- lua_filter@*autocap_filter # 英文自动大写
- lua_filter@*pin_cand_filter # 置顶候选项(顺序要求:置顶候选项 > Emoji > 简繁切换)
- lua_filter@*reduce_english_filter # 降低部分英语单词在候选项的位置
- reverse_lookup_filter@radical_reverse_lookup # 部件拆字滤镜,放在pro_comment_format前面,进一步被超级注释处理以获得拼音编码的提示
- lua_filter@*pro_preedit_format #输入码显示全拼并带上音调
- simplifier@emoji # Emoji
- simplifier@traditionalize # 简繁切换
- simplifier@mars #火星文
- simplifier@chinese_english #中英翻译
- lua_filter@*search@radical_pinyin # 部件拆字辅码放在简繁转换之后
- lua_filter@*pro_comment_format #超级注释模块,支持错词提示、辅助码显示,部件组字读音注释,支持个性化配置和关闭相应的功能,详情搜索pro_comment_format进行详细配置
- uniquifier # 去重
# Lua 配置 超级注释模块
pro_comment_format:
candidate_length: 1 # 候选词辅助码提醒的生效长度,0为关闭 但同时清空其它,应当使用上面开关来处理
corrector_type: "{comment}" # 换一种显示类型,比如"({comment})"
tone_display: "preedit" #显示到输入码还是注释里 选项为preedit, comment
# Lua 配置: 日期、时间、星期、ISO 8601、时间戳的触发关键字
date_translator:
date: date # 日期: 2022-11-29
time: time # 时间: 18:13
week: week # 星期: 星期二
datetime: datetime # ISO 8601: 2022-11-29T18:13:11+08:00
timestamp: timestamp # 时间戳: 1669716794
# Lua 配置:农历的触发关键字
lunar: lunar # 农历: 二〇二三年冬月二十 癸卯年(兔)冬月二十
# Lua 配置:计算器触发关键字
calculator:
trigger: "V"
# Lua 配置: 置顶候选项
# 注释太长了,请参考 pin_cand_filter.lua 开头的说明书。
pin_cand_filter:
# 格式:编码<Tab>字词1<Space>字词2……
- d 的
#Lua 配置:长词优先
long_word_filter:
count: 4
idx: 3
# Lua 配置: 降低部分英语单词在候选项的位置。
# 详细介绍 https://dvel.me/posts/make-rime-en-better/#短单词置顶的问题
# 正常情况: 输入 rug 得到 「1.rug 2.如果 …… 」
# 降低之后: 输入 rug 得到 「1.如果 2.rug …… 」
# 几种模式:
# all 降低脚本内置的单词(所有 3~4 位长度、前 2~3 位是完整拼音、最后一位是声母),words 作为自定义的额外补充
# custom 完全自定义,只降低 words 里的
# none 不降低任何单词,相当于没有启用这个 Lua
# (匹配的是编码,不是单词)
reduce_english_filter:
mode: custom # all | custom | none
idx: 2 # 降低到第 idx 个位置
# 自定义的单词列表,示例列表没有降低部分常用单词,如 and cat mail Mac but bad shit ……
words: [
aid, ann,
bail, bait, bam, band, bans, bat, bay, bend, bent, benz, bib, bid, bien, biz, boc, bop, bos, bud, buf, bach, bench, bush,
cab, cad, cain, cam, cans, cap, cas, cef, chad, chan, chap, chef, cher, chew, chic, chin, chip, chit, coup, cum, cunt, cur, couch,
dab, dag, dal, dam, dent, dew, dial, diet, dim, din, dip, dis, dit, doug, dub, dug, dunn,
fab, fax, fob, fog, foul, fur,
gag, gail, gain, gal, gam, gaol, ged, gel, ger, guam, gus, gut,
hail, ham, hank, hans, hat, hay, heil, heir, hem, hep, hud, hum, hung, hunk, hut, hush,
jim, jug,
kat,
lab, lad, lag, laid, lam, laos, lap, lat, lax, lay, led, leg, lex, liam, lib, lid, lied, lien, lies, linn, lip, lit, liz, lob, lug, lund, lung, lux, lash, loch, lush,
mag, maid, mann, mar, mat, med, mel, mend, mens, ment, mil, mins, mint, mob, moc, mop, mos, mot, mud, mug, mum, mesh,
nap, nat, nay, neil, nib, nip, noun, nous, nun, nut, nail, nash,
pac, paid, pail, pain, pair, pak, pal, pam, pans, pant, pap, par, pat, paw, pax, pens, pic, pier, pies, pins, pint, pit, pix, pod, pop, pos, pot, pour, pow, pub, pinch, pouch,
rand, rant, rent, rep, res, ret, rex, rib, rid, rig, rim, rub, rug, rum, runc, runs, ranch,
sac, sail, sal, sam, sans, sap, saw, sax, sew, sham, shaw, shin, sig, sin, sip, sis, suit, sung, suns, sup, sur, sus,
tad, tail, taj, tar, tax, tec, ted, tel, ter, tex, tic, tied, tier, ties, tim, tin, tit, tour, tout, tum,
wag, wand, womens, wap, wax, weir, won,
yan, yen,
zach
]
# 主翻译器,拼音
translator:
dictionary: wanxiang # 挂载词库
#prism: wanxiang # 多方案共用一个词库时,为避免冲突,需要用 prism 指定一个名字。
enable_completion: true # 启用候选词补全
# single_char_first: true # 优先显示单个字符
# candidate_filter: "^(?!abc).*$" # 过滤掉包含 "abc" 的候选词
# user_dict: zrm.userdb # 用户词典的文件名称
# db_class: tabledb #开启后就不会产生zrm.userdb这样的文件夹,会直接输出文本zrm.txt同时无法使用同步能力
enable_user_dict: true # 是否开启自动调频
enable_encoder: true
enable_sentence: false
enable_correction: false #是否开启自动纠错
encode_commit_history: true # 预留历史上屏自动编码成词
initial_quality: 3 # 初始质量拼音的权重应该比英文大
spelling_hints: 100 # 将注释以词典字符串形式完全暴露,通过pro_comment_format.lua完全接管,灵活配置。
always_show_comments: true # Rime 默认在 preedit 等于 comment 时取消显示 comment,这里强制一直显示,供pro_comment_format.lua做判断用。
comment_format: {comment} #将注释以词典字符串形式完全暴露,通过pro_comment_preedit_format.lua完全接管,灵活配置。
preedit_format: #影响到输入框的显示和“Shift+回车”上屏的字符,交给pro_comment_preedit_format处理
# 自定义短语
custom_phrase:
dictionary: ""
user_dict: custom_phrase # 需要手动创建 custom_phrase.txt 文件
db_class: stabledb
enable_completion: false # 补全提示
enable_sentence: false # 禁止造句
initial_quality: 99 # custom_phrase 的权重应该比 pinyin 和 melt_eng 大
# 简码词库导入位于jm_dicts得txt文件词库
chengyu:
dictionary: ""
user_dict: jm_dicts/chengyu
db_class: stabledb
enable_sentence: false
enable_completion: false
initial_quality: 1.2 #本表词和系统词重码居后
# 次翻译器,英文
melt_eng:
dictionary: melt_eng # 挂载词库 melt_eng.dict.yaml
enable_sentence: false # 禁止造句
enable_user_dict: false # 禁用用户词典,是否开启自动调频
initial_quality: 1.1 # 初始权重
comment_format: # 自定义提示码
- xform/.*// # 清空提示码
# 中英混合词汇
cn_en:
dictionary: ""
user_dict: en_dicts/cn_en_double_pinyin
db_class: stabledb
enable_completion: true
enable_sentence: false
initial_quality: 0.5
comment_format:
- xform/^.+$//
# Emoji
emoji:
option_name: emoji
opencc_config: emoji.json
inherit_comment: false # 在反查中,emoji 返回空注释
# 火星文切换
mars:
opencc_config: martian.json
option_name: mars
#中文转英文
chinese_english:
option_name: chinese_english
opencc_config: chinese_english.json
tips: char
comment_format:
- "xform/-/ /"
# 简繁切换
traditionalize:
option_name: traditionalization
opencc_config: s2t.json # s2t.json | s2hk.json | s2tw.json | s2twp.json
tips: none # 转换提示: all 都显示 | char 仅单字显示 | none 不显示。
tags: [ abc, number, gregorian_to_lunar ] # 限制在对应 tag,不对其他如反查的内容做简繁转换
# 部件拆字反查
radical_lookup:
tag: radical_lookup
dictionary: radical_pinyin
enable_user_dict: false
prefix: "az" # 反查前缀(反查时前缀会消失影响打英文所以设定为两个字母,或可改成一个非字母符号),与 recognizer/patterns/radical_lookup 匹配
tips: " 〔部件组字〕"
comment_format: #{comment}
- erase/^.*$//
reverse_stroke:
tag: reverse_stroke
dictionary: stroke
db_class: stabledb
enable_completion: true
prefix: "ab"
suffix: "'"
tips: 〔笔画 hspnz〕
preedit_format:
- xlit/hspnz/一丨丿丶乙/
# 部件拆字滤镜
radical_reverse_lookup:
tags: [ radical_lookup,reverse_stroke ]
overwrite_comment: true
dictionary: wanxiang #带音调的词典
# 处理符合特定规则的输入码,如网址、反查
recognizer:
import_preset: default # 从 default.yaml 继承通用的
patterns: # 再增加方案专有的:
punct: "^/([0-9]|10|[A-Za-z]+)$" # 响应 symbols.yaml 的 symbols
radical_lookup: "^az[a-z]+$" # 响应部件拆字的反查,与 radical_lookup/prefix 匹配
reverse_stroke: "^ab[A-Za-z]*$" #响应笔画反查,与reverse_stroke/prefix 匹配
add_user_dict: "^ac[A-Za-z]*$" #自造词
unicode: "^U[a-f0-9]+" # 脚本将自动获取第 2 个字符 U 作为触发前缀,响应 lua_translator@unicode,输出 Unicode 字符
number: "^R[0-9]+[.]?[0-9]*" # 脚本将自动获取第 2 个字符 R 作为触发前缀,响应 lua_translator@number_translator,数字金额大写
gregorian_to_lunar: "^N[0-9]{1,8}" # 脚本将自动获取第 2 个字符 N 作为触发前缀,响应 lua_translator@lunar,公历转农历,输入 N20240115 得到「二〇二三年腊月初五」
calculator: "^V.*$" #计算器功能引导
quick_symbol: "^'.*$" # 快符引导,例如输入'q 后自动上屏快速符号,双击''重复上屏符号
quick_text: "^;.*$" # 双击;;重复上屏汉字和字母
# 从 default 继承快捷键
key_binder:
import_preset: default # 从 default.yaml 继承通用的
# Lua 配置: 以词定字(上屏当前词句的第一个或最后一个字),和中括号翻页有冲突
select_first_character: "bracketleft" # 左中括号 [
select_last_character: "bracketright" # 右中括号 ]
search: "`" # 辅码引导符,要添加到 speller/alphabet
bindings: # 也可以再增加方案专有的
#- { when: composing, accept: Tab, send: '[' } ## 取消注释后:tab引导辅助码
- { when: composing, accept: Control+w, send: Control+BackSpace }
#分号用于次选
- { when: has_menu, accept: semicolon, send: 2 }
#使用Control+e进入翻译模式
- { when: has_menu, accept: "Control+e", toggle: chinese_english}
#使用快捷键Control+a开启和关闭辅助码显示
- { when: has_menu, accept: "Control+a", toggle: pinyinhint }
#通过快捷键Control+s使得输入码显示音调
- { when: has_menu, accept: "Control+s", toggle: tone_display }
#通过快捷键Control+g开启字符集过滤
- { when: has_menu, accept: "Control+g", toggle: charset_filter }
# 使用 tab 在不同音节之间跳转
- { when: has_menu, accept: "Tab", send: "Control+Right" }
- { when: composing, accept: "Tab", send: "Control+Right" }
#通过stick.lua显示到注释里,用来上屏带/的简码词汇。最好是用句号,这样可以与手机上可以做同样的定义,保持同样的习惯
# - { match: "[a-z]{1,3}", accept: ".", send_sequence: "/1" }
# 拼写设定
speller:
# table_translator翻译器,支持自动上屏。例如 “zmhu”可以自动上屏“怎么回事”
# auto_select: true
# auto_select_pattern: ^[a-z]+/|^[a-df-zA-DF-Z]\w{3}|^e\w{4}
# 如果不想让什么标点直接上屏,可以加在 alphabet,或者编辑标点符号为两个及以上的映射
alphabet: zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA`/
# initials 定义仅作为始码的按键,排除 ` 让单个的 ` 可以直接上屏
initials: zyxwvutsrqponmlkjihgfedcbaZYXWVUTSRQPONMLKJIHGFEDCBA
delimiter: " '" # 第一位<空格>是拼音之间的分隔符;第二位<'>表示可以手动输入单引号来分割拼音。
algebra:
__patch:
- set_shuru_schema #拼音转双拼码在文件头部配置
- set_gongjian_mohu #共键输入或者模糊音选择性开启
# 标点符号
# punctuator 下面有三个子项:
# 设置为一个映射,就自动上屏;设置为多个映射,如 '/' : [ '/', ÷ ] 则进行复选。
# full_shape: 全角没改,使用预设值
# half_shape: 标点符号全部直接上屏,和 macOS 自带输入法的区别是
# '|' 是半角的,
# '~' 是半角的,
# '`'(反引号)没有改成 '·'(间隔号)。
# symbols Rime 的预设配置是以 '/' 前缀开头输出一系列字符,自定义的修改 symbols.yaml
punctuator:
full_shape:
' ' : { commit: ' ' }
',' : { commit: , }
'.' : { commit: 。 }
'<' : [ 《, 〈, «, ‹ ]
'>' : [ 》, 〉, », › ]
'/' : [ /, ÷ ]
'?' : { commit: ? }
';' : { commit: ; }
':' : { commit: : }
'''' : { pair: [ '‘', '’' ] }
'"' : { pair: [ '“', '”' ] }
'\' : [ 、, \ ]
'|' : [ ·, |, '§', '¦' ]
'`' : `
'~' : ~
'!' : { commit: ! }
'@' : [ @, ☯ ]
'#' : [ #, ⌘ ]
'%' : [ %, '°', '℃' ]
'$' : [ ¥, '$', '€', '£', '¥', '¢', '¤' ]
'^' : { commit: …… }
'&' : &
'*' : [ *, ·, ・, ×, ※, ❂ ]
'(' : (
')' : )
'-' : -
'_' : ——
'+' : +
'=' : =
'[' : [ 「, 【, 〔, [ ]
']' : [ 」, 】, 〕, ] ]
'{' : [ 『, 〖, { ]
'}' : [ 』, 〗, } ]
half_shape:
',' : ','
'.' : '。'
'<' : '《'
'>' : '》'
'/' : [ /, ÷ ]
'?' : '?'
';' : ';'
':' : ':'
'''' : { pair: [ '‘', '’' ] }
'"' : { pair: [ '“', '”' ] }
'\' : '、'
'|' : '|'
'`' : '`'
'~' : '~'
'!' : '!'
'@' : '@'
'#' : '#'
'%' : '%'
'$' : '¥'
'^' : '……'
'&' : '&'
'*' : '*'
'(' : '('
')' : ')'
'-' : '-'
'_' : ——
'+' : '+'
'=' : '='
'[' : '【'
']' : '】'
'{' : '「'
'}' : '」'
symbols:
__include: symbols:/symbols # 从 symbols.yaml 导入配置
全拼:
__append:
- xlit/āáǎàōóǒòēéěèīíǐìūúǔùǖǘǚǜü/aaaaooooeeeeiiiiuuuuvvvvv/
- xform/ń|ň|ǹ/en/
- xform/\bn\b/en/ #解决𧗈字拼音n通过双拼en打出来
- xform/\bng\b/eng/
- xform/ńg|ňg|ǹg/eng/
# - abbrev/^([a-z]).+$/$1/ #简拼
自然码:
__append:
- xlit/āáǎàōóǒòēéěèīíǐìūúǔùǖǘǚǜü/aaaaooooeeeeiiiiuuuuvvvvv/
- xform/ń|ň|ǹ/en/
- xform/\bn\b/en/ #解决𧗈字拼音n通过双拼en打出来
- xform/\bng\b/eng/
- xform/ńg|ňg|ǹg/eng/
- derive/^([jqxy])u$/$1v/
- derive/^([aoe])([ioun])$/$1$1$2/
- xform/^([aoe])(ng)?$/$1$1$2/
- xform/iu$/Ⓠ/
- xform/[iu]a$/Ⓦ/
- xform/[uv]an$/Ⓡ/
- xform/[uv]e$/Ⓣ/
- xform/ing$|uai$/Ⓨ/
- xform/^sh/Ⓤ/
- xform/^ch/Ⓘ/
- xform/^zh/Ⓥ/
- xform/uo$/Ⓞ/
- xform/[uv]n$/Ⓟ/
- xform/(.)i?ong$/$1Ⓢ/
- xform/[iu]ang$/Ⓓ/
- xform/(.)en$/$1Ⓕ/
- xform/(.)eng$/$1Ⓖ/
- xform/(.)ang$/$1Ⓗ/
- xform/ian$/Ⓜ/
- xform/(.)an$/$1Ⓙ/
- xform/iao$/Ⓒ/
- xform/(.)ao$/$1Ⓚ/
- xform/(.)ai$/$1Ⓛ/
- xform/(.)ei$/$1Ⓩ/
- xform/ie$/Ⓧ/
- xform/ui$/Ⓥ/
- xform/(.)ou$/$1Ⓑ/
- xform/in$/Ⓝ/
- xlit/ⓆⓌⓇⓉⓎⓊⒾⓄⓅⓈⒹⒻⒼⒽⓂⒿⒸⓀⓁⓏⓍⓋⒷⓃ/qwrtyuiopsdfghmjcklzxvbn/
# - abbrev/^([a-z]).+$/$1/ #简拼
自然龙:
__append:
- xform/ń/én/
- xform/ň/ěn/
- xform/ǹ/ěn/
- xform/\bn\b/en/ #解决𧗈字拼音n通过双拼en打出来
- xform/\bng\b/eng/
- xform/ńg/éng/
- xform/ňg/ěng/
- xform/ṅg/èng/
- xform/^([a-z]+)$/$1⑤/
- xform/^(.*)ā(.*)$/$1a$2①/
- xform/^(.*)á(.*)$/$1a$2②/
- xform/^(.*)ǎ(.*)$/$1a$2③/
- xform/^(.*)à(.*)$/$1a$2④/
- xform/^(.*)ō(.*)$/$1o$2①/
- xform/^(.*)ó(.*)$/$1o$2②/
- xform/^(.*)ǒ(.*)$/$1o$2③/
- xform/^(.*)ò(.*)$/$1o$2④/
- xform/^(.*)ē(.*)$/$1e$2①/
- xform/^(.*)é(.*)$/$1e$2②/
- xform/^(.*)ě(.*)$/$1e$2③/
- xform/^(.*)è(.*)$/$1e$2④/
- xform/^(.*)ī(.*)$/$1i$2①/
- xform/^(.*)í(.*)$/$1i$2②/
- xform/^(.*)ǐ(.*)$/$1i$2③/
- xform/^(.*)ì(.*)$/$1i$2④/
- xform/^(.*)ū(.*)$/$1u$2①/
- xform/^(.*)ú(.*)$/$1u$2②/
- xform/^(.*)ǔ(.*)$/$1u$2③/
- xform/^(.*)ù(.*)$/$1u$2④/
- xform/^(.*)ǖ(.*)$/$1v$2①/
- xform/^(.*)ǘ(.*)$/$1v$2②/
- xform/^(.*)ǚ(.*)$/$1v$2③/
- xform/^(.*)ǜ(.*)$/$1v$2④/
- xform/^(.*)ü(.*)$/$1v$2①/
- xlit/①②③④⑤/12345
- xform/^([jqxy])u(\d)$/$1v$2/
- xform/^([aoe])([ioun]\d)$/$1$1$2/
- xform/^([aoe])(ng\d)$/$1$1$2/
- xform/^([aoe])(\d)$/$1$1$2/
- xform/^(ng\d)$/ee$1/
- xform/^sh/U/
- xform/^ch/I/
- xform/^zh/V/
- xform/iao4$/L/
- xform/iao3$/L/
- xform/iao2$/U/
- xform/iao5$/M/
- xform/iao1$/M/
- xform/ian1$/R/
- xform/ian2$/V/
- xform/ian3$/P/
- xform/ian4$/A/
- xform/ian5$/R/
- xform/uan4$/C/
- xform/uan3$/S/
- xform/uan2$/O/
- xform/uan1$/D/
- xform/uan5$/D/
- xform/iang4$/E/
- xform/iang3$/U/
- xform/iang2$/I/
- xform/iang1$/Y/
- xform/iang5$/Y/
- xform/iong4$/H/
- xform/iong3$/E/
- xform/iong2$/K/
- xform/iong1$/P/
- xform/iong5$/P/
- xform/uang5$/W/
- xform/uang1$/W/
- xform/uang2$/B/
- xform/uang3$/U/
- xform/uang4$/E/
- xform/(.)eng1$/$1C/
- xform/(.)eng2$/$1F/
- xform/(.)eng3$/$1Y/
- xform/(.)eng4$/$1F/
- xform/(.)eng5$/$1C/
- xform/uai4$/F/
- xform/uai3$/P/
- xform/uai2$/S/
- xform/uai1$/G/
- xform/uai5$/G/
- xform/ua4$/G/
- xform/ua3$/G/
- xform/ua2$/T/
- xform/ua1$/S/
- xform/ua5$/S/
- xform/(.)ai4$/$1O/
- xform/(.)ou3$/$1Z/
- xform/(.)en2$/$1S/
- xform/(.)ang4$/$1D/
- xform/(.)ong1$/$1K/
- xform/(.)ong5$/$1K/
- xform/(.)ei4$/$1K/
- xform/(.)ai2$/$1D/
- xform/(.)ao4$/$1V/
- xform/(.)ao3$/$1X/
- xform/(.)ao2$/$1I/
- xform/(.)ao1$/$1Q/
- xform/(.)en1$/$1E/
- xform/(.)en5$/$1E/
- xform/en1$/E/
- xform/en5$/E/
- xform/ia4$/X/
- xform/uo4$/P/
- xform/uo1$/S/
- xform/uo5$/S/
- xform/(.)ong4$/$1Y/
- xform/ia1$/D/
- xform/ia2$/C/
- xform/ia3$/N/
- xform/ia4$/X/
- xform/ia5$/D/
- xform/(.)ang1$/$1U/
- xform/(.)ang5$/$1U/
- xform/(.)ou4$/$1R/
- xform/(.)ai1$/$1B/
- xform/(.)ai5$/$1B/
- xform/in1$/H/
- xform/in2$/C/
- xform/in3$/X/
- xform/in4$/V/
- xform/in5$/H/
- xform/uo3$/L/
- xform/(.)ong2$/$1J/
- xform/ing1$/E/
- xform/ing2$/N/
- xform/ing3$/W/
- xform/ing4$/W/
- xform/ing5$/E/
- xform/(.)ou1$/$1X/
- xform/(.)ou5$/$1X/
- xform/(.)an2$/$1P/
- xform/(.)en3$/$1O/
- xform/en3$/O/
- xform/(.)en4$/$1O/
- xform/en4$/O/
- xform/(.)ao5$/$1Q/
- xform/(.)ang3$/$1P/
- xform/(.)an1$/$1N/
- xform/(.)an5$/$1N/
- xform/uo2$/L/
- xform/(.)an4$/$1A/
- xform/(.)ei2$/$1R/
- xform/(.)ong3$/$1N/
- xform/(.)ou2$/$1A/
- xform/ui1$/T/
- xform/ui2$/W/
- xform/ui3$/V/
- xform/ui4$/F/
- xform/ui5$/T/
- xform/(.)ei3$/$1J/
- xform/ue1$/U/
- xform/ue2$/I/
- xform/ue3$/O/
- xform/ue4$/D/
- xform/ue5$/U/
- xform/ve1$/U/
- xform/ve2$/I/
- xform/ve3$/O/
- xform/ve4$/D/
- xform/ve5$/U/
- xform/(.)ang2$/$1W/
- xform/ie1$/K/
- xform/ie2$/S/
- xform/ie3$/C/
- xform/ie4$/Q/
- xform/ie5$/K/
- xform/(.)ei1$/$1I/
- xform/(.)ei5$/$1I/
- xform/(.)ai3$/$1U/
- xform/v1$/H/
- xform/v2$/M/
- xform/v3$/S/
- xform/v4$/F/
- xform/(.)an3$/$1O/
- xform/un1$/G/
- xform/un2$/F/
- xform/un3$/O/
- xform/un4$/R/
- xform/un5$/G/
- xform/er1$/eQ/
- xform/er2$/eK/
- xform/er3$/eU/
- xform/er4$/eH/
- xform/er5$/eQ/
- xform/iu5$/Z/
- xform/iu4$/O/
- xform/iu3$/Z/
- xform/iu2$/M/
- xform/iu1$/Z/
- xform/(.)a1$/$1L/
- xform/(.)a2$/$1U/
- xform/(.)a3$/$1M/
- xform/(.)a4$/$1I/
- xform/(.)a5$/$1L/
- xform/(.)e1$/$1R/
- xform/(.)e2$/$1E/
- xform/(.)e3$/$1L/
- xform/(.)e4$/$1I/
- xform/(.)e5$/$1R/
- xform/(.)o1$/$1P/
- xform/(.)o2$/$1E/
- xform/(.)o3$/$1I/
- xform/(.)o4$/$1G/
- xform/(.)o5$/$1P/
- xform/i5$/J/
- xform/i4$/T/
- xform/i3$/G/
- xform/i2$/B/
- xform/i1$/J/
- xform/u5$/A/
- xform/u4$/H/
- xform/u3$/M/
- xform/u2$/L/
- xform/u1$/A/
- xlit/QWERTYUIOPASDFGHMJCKLZXVBN/qwertyuiopasdfghmjcklzxvbn/
小鹤:
__append:
- xlit/āáǎàōóǒòēéěèīíǐìūúǔùǖǘǚǜü/aaaaooooeeeeiiiiuuuuvvvvv/
- xform/ń|ň|ǹ/en/
- xform/\bn\b/en/ #解决𧗈字拼音n通过双拼en打出来
- xform/\bng\b/eng/
- xform/ńg|ňg|ǹg/eng/
- derive/^([jqxy])u$/$1v/
- derive/^([aoe])([ioun])$/$1$1$2/
- xform/^([aoe])(ng)?$/$1$1$2/
- xform/iu$/Ⓠ/
- xform/(.)ei$/$1Ⓦ/
- xform/uan$/Ⓡ/
- xform/[uv]e$/Ⓣ/
- xform/un$/Ⓨ/
- xform/^sh/Ⓤ/
- xform/^ch/Ⓘ/
- xform/^zh/Ⓥ/
- xform/uo$/Ⓞ/
- xform/ie$/Ⓟ/
- xform/(.)i?ong$/$1Ⓢ/
- xform/ing$|uai$/Ⓚ/
- xform/(.)ai$/$1Ⓓ/
- xform/(.)en$/$1Ⓕ/
- xform/(.)eng$/$1Ⓖ/
- xform/[iu]ang$/Ⓛ/
- xform/(.)ang$/$1Ⓗ/
- xform/ian$/Ⓜ/
- xform/(.)an$/$1Ⓙ/
- xform/(.)ou$/$1Ⓩ/
- xform/[iu]a$/Ⓧ/
- xform/iao$/Ⓝ/
- xform/(.)ao$/$1Ⓒ/
- xform/ui$/Ⓥ/
- xform/in$/Ⓑ/
- xlit/ⓆⓌⓇⓉⓎⓊⒾⓄⓅⓈⒹⒻⒼⒽⒿⓀⓁⓏⓍⒸⓋⒷⓃⓂ/qwrtyuiopsdfghjklzxcvbnm/
# - abbrev/^([a-z]).+$/$1/ #简拼
搜狗:
__append:
- xlit/āáǎàōóǒòēéěèīíǐìūúǔùǖǘǚǜü/aaaaooooeeeeiiiiuuuuvvvvv/
- xform/ń|ň|ǹ/en/
- xform/\bn\b/en/ #解决𧗈字拼音n通过双拼en打出来
- xform/\bng\b/eng/
- xform/ńg|ňg|ǹg/eng/
- derive/^([jqxy])u$/$1v/
- derive/^([aoe].*)$/o$1/
- xform/^([ae])(.*)$/$1$1$2/
- xform/iu$/Ⓠ/
- xform/[iu]a$/Ⓦ/
- xform/er$|[uv]an$/Ⓡ/
- xform/[uv]e$/Ⓣ/
- xform/v$|uai$/Ⓨ/
- xform/^sh/Ⓤ/
- xform/^ch/Ⓘ/
- xform/^zh/Ⓥ/
- xform/uo$/Ⓞ/
- xform/[uv]n$/Ⓟ/
- xform/(.)i?ong$/$1Ⓢ/
- xform/[iu]ang$/Ⓓ/
- xform/(.)en$/$1Ⓕ/
- xform/(.)eng$/$1Ⓖ/
- xform/(.)ang$/$1Ⓗ/
- xform/ian$/Ⓜ/
- xform/(.)an$/$1Ⓙ/
- xform/iao$/Ⓒ/
- xform/(.)ao$/$1Ⓚ/
- xform/(.)ai$/$1Ⓛ/
- xform/(.)ei$/$1Ⓩ/
- xform/ie$/Ⓧ/
- xform/ui$/Ⓥ/
- xform/(.)ou$/$1Ⓑ/
- xform/in$/Ⓝ/
- xform/ing$/;/
- xlit/ⓆⓌⓇⓉⓎⓊⒾⓄⓅⓈⒹⒻⒼⒽⓂⒿⒸⓀⓁⓏⓍⓋⒷⓃ/qwrtyuiopsdfghmjcklzxvbn/
# - abbrev/^([a-z]).+$/$1/ #简拼
微软:
__append:
- xlit/āáǎàōóǒòēéěèīíǐìūúǔùǖǘǚǜü/aaaaooooeeeeiiiiuuuuvvvvv/
- xform/ń|ň|ǹ/en/
- xform/\bn\b/en/ #解决𧗈字拼音n通过双拼en打出来
- xform/\bng\b/eng/
- xform/ńg|ňg|ǹg/eng/
- derive/^([jqxy])u$/$1v/
- derive/^([aoe].*)$/o$1/
- xform/^([ae])(.*)$/$1$1$2/
- xform/iu$/Ⓠ/
- xform/[iu]a$/Ⓦ/
- xform/er$|[uv]an$/Ⓡ/
- xform/[uv]e$/Ⓣ/
- xform/v$|uai$/Ⓨ/
- xform/^sh/Ⓤ/
- xform/^ch/Ⓘ/
- xform/^zh/Ⓥ/
- xform/uo$/Ⓞ/
- xform/[uv]n$/Ⓟ/
- xform/(.)i?ong$/$1Ⓢ/
- xform/[iu]ang$/Ⓓ/
- xform/(.)en$/$1Ⓕ/
- xform/(.)eng$/$1Ⓖ/
- xform/(.)ang$/$1Ⓗ/
- xform/ian$/Ⓜ/
- xform/(.)an$/$1Ⓙ/
- xform/iao$/Ⓒ/
- xform/(.)ao$/$1Ⓚ/
- xform/(.)ai$/$1Ⓛ/
- xform/(.)ei$/$1Ⓩ/
- xform/ie$/Ⓧ/
- xform/ui$/Ⓥ/
- derive/Ⓣ$/Ⓥ/
- xform/(.)ou$/$1Ⓑ/
- xform/in$/Ⓝ/
- xform/ing$/;/
- xlit/ⓆⓌⓇⓉⓎⓊⒾⓄⓅⓈⒹⒻⒼⒽⓂⒿⒸⓀⓁⓏⓍⓋⒷⓃ/qwrtyuiopsdfghmjcklzxvbn/
# - abbrev/^([a-z]).+$/$1/ #简拼
ABC:
__append:
- xlit/āáǎàōóǒòēéěèīíǐìūúǔùǖǘǚǜü/aaaaooooeeeeiiiiuuuuvvvvv/
- xform/ń|ň|ǹ/en/
- xform/\bn\b/en/ #解决𧗈字拼音n通过双拼en打出来
- xform/\bng\b/eng/
- xform/ńg|ňg|ǹg/eng/
- xform/^zh/Ⓐ/
- xform/^ch/Ⓔ/
- xform/^sh/Ⓥ/
- xform/^([aoe].*)$/Ⓞ$1/
- xform/ei$/Ⓠ/
- xform/ian$/Ⓦ/
- xform/er$|iu$/Ⓡ/
- xform/[iu]ang$/Ⓣ/
- xform/ing$/Ⓨ/
- xform/uo$/Ⓞ/
- xform/uan$/Ⓟ/
- xform/(.)i?ong$/$1Ⓢ/
- xform/[iu]a$/Ⓓ/
- xform/en$/Ⓕ/
- xform/eng$/Ⓖ/
- xform/ang$/Ⓗ/
- xform/an$/Ⓙ/
- xform/iao$/Ⓩ/
- xform/ao$/Ⓚ/
- xform/in$|uai$/Ⓒ/
- xform/ai$/Ⓛ/
- xform/ie$/Ⓧ/
- xform/ou$/Ⓑ/
- xform/un$/Ⓝ/
- xform/[uv]e$|ui$/Ⓜ/
- xlit/ⓆⓌⒺⓇⓉⓎⓄⓅⒶⓈⒹⒻⒼⒽⒿⓀⓁⓏⓍⒸⓋⒷⓃⓂ/qwertyopasdfghjklzxcvbnm/
# - abbrev/^([a-z]).+$/$1/ #简拼
紫光:
__append:
- xlit/āáǎàōóǒòēéěèīíǐìūúǔùǖǘǚǜü/aaaaooooeeeeiiiiuuuuvvvvv/
- xform/ń|ň|ǹ/en/
- xform/\bn\b/en/ #解决𧗈字拼音n通过双拼en打出来
- xform/\bng\b/eng/
- xform/ńg|ňg|ǹg/eng/
- derive/^([jqxy])u$/$1v/
- xform/^([aoe].*)$/Ⓞ$1/ # 添上固定的零聲母o,先標記爲大寫O
- xform/en$/Ⓦ/
- xform/eng$/Ⓣ/
- xform/in$|uai$/Ⓨ/
- xform/^zh/Ⓤ/
- xform/^sh/Ⓘ/
- xform/uo$/Ⓞ/
- xform/ai$/Ⓟ/
- xform/^ch/Ⓐ/
- xform/[iu]ang$/Ⓖ/
- xform/ang$/Ⓢ/ # ang should be placed after iang/uang
- xform/ie$/Ⓓ/
- xform/ian$/Ⓕ/
- xform/(.)i?ong$/$1Ⓗ/
- xform/er$|iu$/Ⓙ/
- xform/ei$/Ⓚ/
- xform/uan$/Ⓛ/
- xform/ing$/;/
- xform/ou$/Ⓩ/
- xform/[iu]a$/Ⓧ/
- xform/iao$/Ⓑ/
- xform/ue$|ui$|ve$/Ⓝ/
- xform/un$/Ⓜ/
- xform/ao$/Ⓠ/ # ao should be placed after iao
- xform/an$/Ⓡ/ # an should be placed after uan/ian
- xlit/ⓌⓉⓎⓊⒾⓄⓅⒶⒼⓈⒹⒻⒽⒿⓀⓁⓏⓍⒷⓃⓂⓆⓇ/wtyuiopagsdfhjklzxbnmqr/
# - abbrev/^([a-z]).+$/$1/ #简拼
乱序17:
__append:
- xlit/āáǎàōóǒòēéěèīíǐìūúǔùǖǘǚǜü/aaaaooooeeeeiiiiuuuuvvvvv/
- xform/ń|ň|ǹ/en/
- xform/\bn\b/en/ #解决𧗈字拼音n通过双拼en打出来
- xform/\bng\b/eng/
- xform/ńg|ňg|ǹg/eng/
- erase/^xx$/
- derive/^([jqxy])u$/$1Ⓥ/
- xform/^ch/Ⓒ/
- xform/^c/Ⓕ/
- xform/^k/Ⓙ/
- xform/^([aoe].*)$/Ⓠ$1/
- xform/^p/Ⓗ/
- xform/^r/Ⓝ/
- xform/^sh/Ⓢ/
- xform/^s/Ⓜ/
- xform/^zh/Ⓩ/
- xform/^z/Ⓦ/
- xform/uang$/Ⓠ/
- xform/iang$/Ⓒ/
- xform/iong$/Ⓑ/
- xform/ang$/Ⓩ/
- xform/eng$/Ⓨ/
- xform/ian$/Ⓠ/
- xform/iao$/Ⓩ/
- xform/ing$/Ⓨ/
- xform/ong$/Ⓣ/
- xform/uai$/Ⓧ/
- xform/uan$/Ⓧ/
- xform/ai$/Ⓛ/
- xform/an$/Ⓝ/
- xform/ao$/Ⓑ/
- xform/ei$/Ⓖ/
- xform/en$/Ⓢ/
- xform/er$/Ⓣ/
- xform/ua$/Ⓗ/
- xform/ie$/Ⓜ/
- xform/in$/Ⓢ/
- xform/iu$/Ⓕ/
- xform/ou$/Ⓕ/
- xform/ia$/Ⓗ/
- xform/[uv]e$/Ⓛ/
- xform/ui$/Ⓒ/
- xform/un$/Ⓖ/
- xform/uo$/Ⓜ/
- xform/a$/Ⓗ/
- xform/e$/Ⓦ/
- xform/i$/Ⓙ/
- xform/o$/Ⓧ/
- xform/u$/Ⓓ/
- xform/v$/Ⓧ/
- xlit/ⓆⓌⒺⓇⓉⓎⓄⓅⒶⓈⒹⒻⒼⒽⒿⓀⓁⓏⓍⒸⓋⒷⓃⓂ/qwertyopasdfghjklzxcvbnm/
#以下配合同文输入法等使用,将共键字母后者转换为前者
9键:
__append:
- xform/b/a/
- xform/c/a/
- xform/e/d/
- xform/f/d/
- xform/h/g/
- xform/i/g/
- xform/k/j/
- xform/l/j/
- xform/n/m/
- xform/o/m/
- xform/q/p/
- xform/r/p/
- xform/s/p/
- xform/u/t/
- xform/v/t/
- xform/x/w/
- xform/y/w/
- xform/z/w/
14键:
__append:
- xform/w/q/
- xform/r/e/
- xform/y/t/
- xform/i/u/
- xform/p/o/
- xform/s/a/
- xform/f/d/
- xform/h/g/
- xform/k/j/
- xform/x/z/
- xform/v/c/
- xform/n/b/
18键:
__append:
- xform/e/w/
- xform/t/r/
- xform/o/i/
- xform/d/s/
- xform/g/f/
- xform/k/j/
- xform/c/x/
- xform/n/b/
26键:
__append: []
user_dict_set:
dictionary: wanxiang
initial_quality: 0