Debian Codegraph @

tables/uz-g1.utb

raw
1 # This table contains braille codes and rules for Uzbek and includes Russian literary text translation table#
2 #
3 # Copyright (C) 2020-2021, BAUM Engineering <[email protected]>
4 #
5 # This file is part of liblouis.
6 #
7 # liblouis is free software: you can redistribute it and/or modify it
8 # under the terms of the GNU Lesser General Public License as
9 # published by the Free Software Foundation, either version 2.1 of the
10 # License, or (at your option) any later version.
11 #
12 # liblouis is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 # Lesser General Public License for more details.
16 #
17 # You should have received a copy of the GNU Lesser General Public
18 # License along with liblouis. If not, see
19 # <http://www.gnu.org/licenses/>.
20
21 #-index-name: Uzbek
22 #-display-name: Uzbek braille
23
24 #+language:uz
25 #+type:literary
26 # Marked as "direction:forward" by Bue Vester-Andersen
27 # Literary table without caps.
28 #+direction:forward
29
30 #-license: LGPLv2.1
31 #-author: BAUM Engineering <[email protected]>
32
33 include ru-unicode.dis
34
35 space \x00a0 a
36 include spaces.uti
37
38 # Latin equivalent to the additional braille adaptations.
39 lowercase \x0068 1456 #h
40 lowercase \x0071 13456 #q
41 lowercase \x0076 2456 #v
42 lowercase \x0078 125 #x
43 lowercase \x0079 12346 #y
44
45 # Additional cyrillic braille adaptations.
46 lowercase \x0493 12456 #ғ
47 lowercase \x04B3 1456 #ҳ
48 lowercase \x049B 13456 #қ
49 lowercase \x045E 1236 #ў
50
51 # Equivalent to the additional braille adaptations.
52 always sh 156
53 always ch 12345
54 noback correct "Sh" "sh" # because always rule above is case sensitive
55 noback correct "Ch" "ch" # because always rule above is case sensitive
56 always o' 1236
57 always o’ 1236
58 always o‘ 1236
59 always o` 1236
60 always g‘ 12456
61 always g' 12456
62 always g’ 12456
63 always g` 12456
64
65 # Symbols that are different from ru-litbrl.ctb
66 math % 3456-245-356
67 math ° 46-356
68 punctuation ( 2356
69 punctuation ) 2356
70 punctuation { 126
71 punctuation } 345
72 noback punctuation [ 126
73 noback punctuation ] 345
74 sign @ 4-1
75 sign \x2018 3
76 sign \x0301 4 # acute accent
77
78 noback pass2 @46-46-46 @46
79
80 # Uppercase letters
81
82 base uppercase \x0048 \x0068 #h
83 base uppercase \x0051 \x0071 #q
84 base uppercase \x0056 \x0076 #v
85 base uppercase \x0058 \x0078 #x
86 base uppercase \x0059 \x0079 #y
87 base uppercase \x0492 \x0493 #ғ
88 base uppercase \x04B2 \x04B3 #ҳ
89 base uppercase \x049A \x049B #қ
90 base uppercase \x040E \x045E #ў
91 base uppercase \x0048 \x0068 #h
92 base uppercase \x0051 \x0071 #q
93 base uppercase \x0056 \x0076 #v
94 base uppercase \x0058 \x0078 #x
95 base uppercase \x0059 \x0079 #y
96
97 # FIXME: for some weird reason this rule needs to be included before AND after the include ru-litbrl.ctb
98 # if the first rule is omitted, "VII" and "XV" are not translated correctly
99 # if the second rule is omitted, "IV" is not translated correctly
100 attribute roman IVXLCDM
101
102 include ru-litbrl.ctb
103
104 lowercase \x0068 1456 #h
105 lowercase \x0071 13456 #q
106 lowercase \x0076 2456 #v
107 lowercase \x0078 125 #x
108 lowercase \x0079 12346 #y
109
110 # Remove indicators before capital letters and between cyrillic and latin letters.
111 noback pass3 @6 ?
112 noback pass3 @46-356 * # dot pattern for °
113 attribute roman IVXLCDM
114 noback pass3 [@46]!%roman ? # keep capital sign only for roman numbers
115 noback pass3 [@46]@1236 ? # remove capital sign from o and g with accent
116 noback pass3 @5 ?
117 noback pass3 @45 ?