From 2e1b60e60c30e47849f2ba751a84103c490cec6d Mon Sep 17 00:00:00 2001 From: Richard <18270414620@139.com> Date: Mon, 25 Nov 2019 17:15:10 +0800 Subject: [PATCH 1/2] Add files via upload MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 增加紫光双拼 --- double_pinyin_unispim.schema.yaml | 107 +++++++++++++++++++++++++ double_pinyin_unispimsimp.schema.yaml | 111 ++++++++++++++++++++++++++ 2 files changed, 218 insertions(+) create mode 100644 double_pinyin_unispim.schema.yaml create mode 100644 double_pinyin_unispimsimp.schema.yaml diff --git a/double_pinyin_unispim.schema.yaml b/double_pinyin_unispim.schema.yaml new file mode 100644 index 0000000..a5a4ceb --- /dev/null +++ b/double_pinyin_unispim.schema.yaml @@ -0,0 +1,107 @@ +# Rime schema +# vim: set sw=2 sts=2 et: +# encoding: utf-8 + +schema: + schema_id: double_pinyin_unispim + name: 紫光双拼<繁体> + version: "0.9.8" + author: + - krsun + description: | + 朙月拼音,兼容紫光雙拼方案。 + +switches: + - name: ascii_mode + reset: 0 + states: [ 中文, 西文 ] + - name: full_shape + states: [ 半角, 全角 ] + - name: simplification + states: [ 漢字, 汉字 ] + +engine: + processors: + - ascii_composer + - recognizer + - key_binder + - speller + - punctuator + - selector + - navigator + - express_editor + segmentors: + - ascii_segmentor + - matcher + - abc_segmentor + - punct_segmentor + - fallback_segmentor + translators: + - echo_translator + - punct_translator + - r10n_translator + - reverse_lookup_translator + filters: + - simplifier + - uniquifier + +speller: + alphabet: zyxwvutsrqponmlkjihgfedcba; + initials: zyxwvutsrqponmlkjihgfedcba + delimiter: " '" + algebra: + - erase/^xx$/ + - derive/^([jqxy])u$/$1v/ + - xform/^([aoe].*)$/O$1/ + - xform/^ch/A/ + - xform/^sh/I/ + - xform/^zh/U/ + - xform/iao$/B/ + - xform/ao$/Q/ + - xform/eng$/T/ + - xform/en$/W/ + - xform/[iu]ang$/G/ + - xform/ang$/S/ + - xform/uan$/L/ + - xform/ian$/F/ + - xform/an$/R/ + - xform/ing$/C/ + - xform/in$|uai$/Y/ + - xform/i?ong$/H/ + - xform/ai$/P/ + - xform/ei$/K/ + - xform/(.)er$/$1J/ + - xform/ia$/X/ + - xform/ie$/D/ + - xform/iu$/J/ + - xform/ou$/Z/ + - xform/ua$/X/ + - xform/uo$/O/ + - xform/ve|ue|ui$/N/ + - xform/un$/M/ + - xlit/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ + +translator: + dictionary: luna_pinyin + prism: double_pinyin_unispim + preedit_format: + +reverse_lookup: + dictionary: cangjie5 + prefix: "`" + tips: 〔倉頡〕 + preedit_format: + - "xlit|abcdefghijklmnopqrstuvwxyz|日月金木水火土竹戈十大中一弓人心手口尸廿山女田難卜符|" + comment_format: + - xform/([nl])v/$1ü/ + +punctuator: + import_preset: default + +key_binder: + import_preset: default + +recognizer: + import_preset: default + patterns: + reverse_lookup: "`[a-z]*$" diff --git a/double_pinyin_unispimsimp.schema.yaml b/double_pinyin_unispimsimp.schema.yaml new file mode 100644 index 0000000..4b21d7e --- /dev/null +++ b/double_pinyin_unispimsimp.schema.yaml @@ -0,0 +1,111 @@ +# Rime schema +# vim: set sw=2 sts=2 et: +# encoding: utf-8 + +schema: + schema_id: double_pinyin_unispimsimp + name: 紫光双拼<简体> + version: "0.9.8" + author: + - krsun + description: | + 朙月拼音,兼容紫光雙拼方案。 + +switches: + - name: ascii_mode + reset: 0 + states: [ 中文, 西文 ] + - name: full_shape + states: [ 半角, 全角 ] + - name: zh_simp + reset: 1 # 增加這一行:默認啓用「繁→簡」轉換。 + states: [ 漢字, 汉字 ] + +engine: + processors: + - ascii_composer + - recognizer + - key_binder + - speller + - punctuator + - selector + - navigator + - express_editor + segmentors: + - ascii_segmentor + - matcher + - abc_segmentor + - punct_segmentor + - fallback_segmentor + translators: + - echo_translator + - punct_translator + - r10n_translator + - reverse_lookup_translator + filters: + - simplifier + - uniquifier + +speller: + alphabet: zyxwvutsrqponmlkjihgfedcba; + initials: zyxwvutsrqponmlkjihgfedcba + delimiter: " '" + algebra: + - erase/^xx$/ + - derive/^([jqxy])u$/$1v/ + - xform/^([aoe].*)$/O$1/ + - xform/^ch/A/ + - xform/^sh/I/ + - xform/^zh/U/ + - xform/iao$/B/ + - xform/ao$/Q/ + - xform/eng$/T/ + - xform/en$/W/ + - xform/[iu]ang$/G/ + - xform/ang$/S/ + - xform/uan$/L/ + - xform/ian$/F/ + - xform/an$/R/ + - xform/ing$/C/ + - xform/in$|uai$/Y/ + - xform/i?ong$/H/ + - xform/ai$/P/ + - xform/ei$/K/ + - xform/(.)er$/$1J/ + - xform/ia$/X/ + - xform/ie$/D/ + - xform/iu$/J/ + - xform/ou$/Z/ + - xform/ua$/X/ + - xform/uo$/O/ + - xform/ve$|ue$|ui$/N/ + - xform/un$/M/ + - xlit/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ + +translator: + dictionary: luna_pinyin + prism: double_pinyin_unispimsimp + preedit_format: + +reverse_lookup: + dictionary: cangjie5 + prefix: "`" + tips: 〔倉頡〕 + preedit_format: + - "xlit|abcdefghijklmnopqrstuvwxyz|日月金木水火土竹戈十大中一弓人心手口尸廿山女田難卜符|" + comment_format: + - xform/([nl])v/$1ü/ + +simplifier: + option_name: zh_simp + +punctuator: + import_preset: default + +key_binder: + import_preset: default + +recognizer: + import_preset: default + patterns: + reverse_lookup: "`[a-z]*$" From d0ae0286fe688d416cf28d7c9fb45f538b618a43 Mon Sep 17 00:00:00 2001 From: Richard <18270414620@139.com> Date: Mon, 25 Nov 2019 17:16:55 +0800 Subject: [PATCH 2/2] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更改readme 增加 紫光双拼 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b6da931..b6b2f5f 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ - 小鶴雙拼 - MSPY雙拼 - 拼音加加雙拼 + - 紫光雙拼 ## 安裝