Skip to content

Commit

Permalink
chore: update data for testing short state labels
Browse files Browse the repository at this point in the history
  • Loading branch information
lotem committed Feb 11, 2023
1 parent 45cd64b commit d0d227c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 15 deletions.
15 changes: 10 additions & 5 deletions data/minimal/cangjie5.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
schema:
schema_id: cangjie5
name: 倉頡五代
version: "1.1.test"
version: "1.2.test"
author:
- 發明人 朱邦復先生
description: |
Expand All @@ -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:
Expand Down
24 changes: 14 additions & 10 deletions data/minimal/luna_pinyin.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
schema:
schema_id: luna_pinyin
name: 朙月拼音
version: "0.14.test"
version: "0.15.test"
author:
- 佛振 <chen.sst@gmail.com>
description: |
Expand All @@ -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:
Expand Down

0 comments on commit d0d227c

Please sign in to comment.