Debian Codegraph @

tests/braille-specs/zhcn-cbs.yaml

raw symbols SCIP
1 # encoding: utf-8
2 #
3 # Chinese Common Braille Scheme
4 #
5 # according to Ministry of Education of the People's Republic of
6 # China's website
7 # <http://www.moe.gov.cn/jyb_sjzl/ziliao/A19/201807/W020180725666187054299.pdf>
8 #
9 # Copyright © 2022 by Cary-rowen <[email protected]>
10 #
11 # Copying and distribution of this file, with or without modification,
12 # are permitted in any medium without royalty provided the copyright
13 # notice and this notice are preserved. This file is offered as-is,
14 # without any warranty.
15 #
16 # ----------------------------------------------------------------------------------------------
17
18 display: unicode-without-blank.dis
19 table:
20 language: cmn-Hans
21 region: cmn-CN
22 system: cmn-traditional
23 variant: chinese-common-braille-scheme
24 __assert-match: zhcn-cbs.ctb
25 tests:
26 - [苹果,⠏⠡⠛⠕⠄]
27 - [电脑,⠙⠩⠝⠖⠄]
28 - [橘子,⠛⠬⠂⠵]
29 - [溁,⠡⠂]
30 - [眼睛,⠩⠄⠛⠡⠁]
31 - [杯弓蛇影,⠃⠮⠁⠛⠲⠁⠱⠢⠂⠡⠄]
32 - [老马识途,⠇⠖⠄⠍⠔⠄⠱⠂⠞⠥]
33 - [相敬如宾,⠓⠭⠁⠛⠡⠚⠥⠃⠣⠁]
34 - [飞黄腾达,⠋⠮⠓⠶⠞⠼⠙⠔⠂]
35 - [如鱼得水,⠚⠥⠬⠂⠙⠢⠂⠱⠺⠄]
36 - [今天的天气不错,⠛⠣⠁⠞⠩⠁⠙ ⠞⠩⠁⠅⠊⠆⠃⠥⠉⠕⠆]
37 - [做人要有梦想,⠵⠕⠚⠴⠜⠳⠍⠼⠆⠓⠭⠄]
38 - [朝月亮出发,⠟⠖⠾⠇⠭⠟⠥⠁⠋⠔]
39 - [最深最重的爱,须与时日共成长。,⠵⠺⠱⠴⠁⠵⠺⠌⠲⠙ ⠪⠐ ⠓⠬⠁⠬⠄⠱⠂⠚⠆⠛⠲⠟⠼⠌⠦⠄⠐⠆]
40 - [这是我的国土,⠌⠢⠱⠕⠙ ⠛⠕⠂⠞⠥⠄]
41 - [hello,⠓⠑⠇⠇⠕]
42 - [Hello World,⠠⠓⠑⠇⠇⠕ ⠠⠺⠕⠗⠇⠙]
43 - [战略合作协议,⠌⠧⠇⠾⠓⠢⠵⠕⠓⠑⠂⠊⠆]
44 - [123,⠼⠁⠃⠉]
45 - [中国是发展中国家,⠌⠲⠁⠛⠕⠂⠱⠋⠔⠌⠧⠄⠌⠲⠁⠛⠕⠂⠛⠫⠁]
46 - [尊老爱幼是中华民族的传统美德,⠵⠒⠁⠇⠖⠄⠪⠳⠆⠱⠌⠲⠁⠓⠿⠍⠣⠵⠥⠂⠙ ⠟⠻⠞⠲⠄⠍⠮⠄⠙⠢⠂]
47
48 # The differences with the current braille system is illustrated with the following examples:
49
50 # some braille cells can be omitted without causing ambiguity
51 # there are six shorthand words:
52
53 # '他' ⠞⠔ is abbreviated ⠞
54 - [他们,⠞⠍⠴] # requires only 3 braille cells instead of 4
55 # '它' ⠁⠞⠔ is abbreviated ⠈⠞
56 - [它们,⠈⠞⠍⠴] # requires only 4 braille cells instead of 6
57 # '她' ⠞⠔⠁ is abbreviated ⠞⠁
58 - [她们,⠞⠁⠍⠴] # requires only 4 braille cells instead of 5
59 # '你' ⠝⠊⠄ is abbreviated ⠝
60 - [你好,⠝⠓⠖⠄] # requires only 4 braille cells instead of 6
61 # '么' ⠍⠢ is abbreviated ⠍
62 - [怎么,⠵⠴⠄⠍] # requires only 4 braille cells instead of 5
63 # '的' ⠙⠢ is abbreviated ⠙
64 - [真的,⠌⠴⠁⠙] # requires only 4 braille cells instead of 5
65
66 # some tones can be omitted:
67 - [海浪,⠓⠪⠄⠇⠦] # requires only 5 braille cells instead of 6
68 - [句子,⠛⠬⠵] # requires only 3 braille cells instead of 5
69 - [巨资,⠛⠬⠵⠁] # requires only 4 braille cells instead of 5
70 - [好朋友,⠓⠖⠄⠏⠼⠳] # requires only 6 braille cells instead of 8
71 - [好客,⠓⠖⠆⠅⠢] # requires only 5 braille cells instead of 6
72 - [备课,⠃⠮⠅⠢] # requires only 4 braille cells instead of 6
73
74 # To show the difference, the current braille system table is applied to the same inputs:
75 table: {system: cmn-traditional}
76 tests:
77 - [他们, ⠞⠔⠍⠴]
78 - [它们, ⠈⠞⠔⠁⠍⠴]
79 - [她们, ⠞⠔⠁⠍⠴]
80 - [你好, ⠝⠊⠄⠓⠖⠄]
81 - [怎么, ⠵⠴⠄⠍⠢]
82 - [真的, ⠌⠴⠁⠙⠢]
83
84 - [海浪, ⠓⠪⠄⠇⠦⠆]
85 - [句子, ⠛⠬⠆⠵⠄]
86 - [巨资, ⠛⠬⠆⠵⠁]
87 - [好朋友, ⠓⠖⠄⠏⠼⠂⠳⠄]
88 - [好客, ⠓⠖⠆⠅⠢⠆]
89 - [备课, ⠃⠮⠆⠅⠢⠆]