From d0d227c70daa25c9671e8355b042c0c1697c2de4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B1=85=E6=88=8E=E6=B0=8F?= Date: Sun, 12 Feb 2023 01:01:13 +0800 Subject: [PATCH] chore: update data for testing short state labels --- data/minimal/cangjie5.schema.yaml | 15 ++++++++++----- data/minimal/luna_pinyin.schema.yaml | 24 ++++++++++++++---------- 2 files changed, 24 insertions(+), 15 deletions(-) diff --git a/data/minimal/cangjie5.schema.yaml b/data/minimal/cangjie5.schema.yaml index 4746410424..c922e1c36a 100644 --- a/data/minimal/cangjie5.schema.yaml +++ b/data/minimal/cangjie5.schema.yaml @@ -4,7 +4,7 @@ schema: schema_id: cangjie5 name: 倉頡五代 - version: "1.1.test" + version: "1.2.test" author: - 發明人 朱邦復先生 description: | @@ -17,13 +17,18 @@ schema: switches: - name: ascii_mode reset: 0 - states: [ 中文, 西文 ] + states: [ 中文, ABC ] + abbrev: [ 中, A ] - name: full_shape - states: [ 半角, 全角 ] + states: [ 半寬文字, 全寬文字 ] - name: simplification - states: [ 漢字, 汉字 ] + states: [ 傳統漢字, 简化字 ] + abbrev: [ 繁, 简 ] - name: extended_charset - states: [ 通用, 增廣 ] + states: [ 常用字彙, 增廣字彙 ] + - name: ascii_punct + states: [ 中文標點, 西文標點 ] + abbrev: [ '。', '.' ] engine: processors: diff --git a/data/minimal/luna_pinyin.schema.yaml b/data/minimal/luna_pinyin.schema.yaml index 1616fc4f62..c8e645c209 100644 --- a/data/minimal/luna_pinyin.schema.yaml +++ b/data/minimal/luna_pinyin.schema.yaml @@ -4,7 +4,7 @@ schema: schema_id: luna_pinyin name: 朙月拼音 - version: "0.14.test" + version: "0.15.test" author: - 佛振 description: | @@ -18,19 +18,23 @@ schema: switches: - name: ascii_mode reset: 0 - states: [ 中文, 西文 ] + states: [ 中文, ABC ] + abbrev: [ 中, A ] - name: full_shape - states: [ 半角, 全角 ] - - name: ascii_punct - states: [ 句讀, 符號 ] + states: [ 半寬文字, 全寬文字 ] # - name: simplification -# states: [ 漢字, 汉字 ] - - options: [ zh_trad, zh_tw, zh_simp ] +# states: [ 傳統漢字, 简化字 ] +# abbrev: [ 繁, 简 ] + - options: [ zh_trad, zh_simp, zh_hk, zh_tw ] states: - 傳統漢字 - - 臺灣正體 - - 簡化字 - reset: 0 + - 简化字 + - 香港字形 + - 臺灣字形 + abbrev: [ 繁, 简, 港, 臺 ] + - name: ascii_punct + states: [ 中文標點, 西文標點 ] + abbrev: [ '。', '.' ] engine: processors: