1# -----------
2#-index-name: Tamil
3#-display-name: Tamil braille
4#
5#+locale:ta
6#+type:literary
7#+contraction:no
8#+grade:1
9# Marked as "direction:forward" by Bue Vester-Andersen
10# as tests only run forward.
11#+direction:forward
12#
13# TODO: Please correct the metadata above. It is not meant to be
14# accurate nor complete. It hasn't been verified by the table
15# author yet. It is merely an attempt by the liblouis maintainers
16# to get some sensible initial values in place.
17#
18# TODO: Please add a reference to official documentation about
19# the implemented braille code. Preferably submit the documents
20# to https://github.com/liblouis/braille-specs.
21# -----------
22#
23#  Copyright (C) 2012 Braille Section Team, Anna Centenary Library, Chennai <brailleacl@gmail.com>
24#  Copyright (C) 2014 National Institute for Visually Handicapped, 116, Rajpur Road, Dehradun, Uttrakhand, India
25#
26#  This file is part of liblouis.
27#
28#  liblouis is free software: you can redistribute it and/or modify it
29#  under the terms of the GNU Lesser General Public License as
30#  published by the Free Software Foundation, either version 2.1 of the
31#  License, or (at your option) any later version.
32#
33#  liblouis is distributed in the hope that it will be useful, but
34#  WITHOUT ANY WARRANTY; without even the implied warranty of
35#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
36#  Lesser General Public License for more details.
37#
38#  You should have received a copy of the GNU Lesser General Public
39#  License along with liblouis. If not, see
40#  <http://www.gnu.org/licenses/>.
41
42# The Liblouis table for Tamil was developed by
43#
44#   Shankar Subbiah S <shankar@agateinfotek.in>
45#   K. Navarasan
46#   T. D. Dinakar <td.dinkar@gmail.com> and
47#   Mesar Hameed <mesar.hameed@gmail.com>
48#
49# Together they go under the name of Braille Section Team, Anna
50# Centenary Library as the table was tested on the Braille display
51# that was available in the Anna Centinary Library, Chennai.
52
53include text_nabcc.dis
54include braille-patterns.cti # unicode braille.
55
56punctuation	\x2018 236 #left single quote
57punctuation	\x2019 356 #right single quote
58punctuation	\x201c 6-236 #left quote
59punctuation	\x201d 356-3 #right quote
60
61include en-us-g1.ctb
62
63sign	\x0b82	56	# TAMIL SIGN ANUSVARA
64sign	\x0b83	6	# TAMIL SIGN VISARGA
65sign	\x0b85	1	# TAMIL sign A
66sign	\x0b86	345	# TAMIL sign AA
67sign	\x0b87	24	# TAMIL sign I
68sign	\x0b88	35	# TAMIL sign II
69sign	\x0b89	136	# TAMIL sign U
70sign	\x0b8a	1256	# TAMIL sign UU
71
72sign	\x0b8e	26	# TAMIL sign E
73
74sign	\x0b8f	15	# TAMIL sign EE
75sign	\x0b90	34	# TAMIL sign AI
76
77sign	\x0b92	1346	# TAMIL sign O
78
79letter	\x0b93	135	# TAMIL sign OO
80letter	\x0b94	246	# TAMIL sign AU
81letter	\x0b95	13	# TAMIL sign KA
82letter	\x0b99	346	# TAMIL sign NGA
83letter	\x0b9a	14	# TAMIL sign CA
84letter	\x0b9c	245	# TAMIL sign JA
85letter	\x0b9e	25	# TAMIL sign NYA
86letter	\x0b9f	23456	# TAMIL sign TTA
87letter	\x0ba3	3456	# TAMIL sign NNA
88letter	\x0ba4	2345	# TAMIL sign TA
89letter	\x0ba8	1345	# TAMIL sign NA
90letter	\x0ba9	56	# TAMIL sign NNNA
91letter	\x0baa	1234	# TAMIL sign PA
92letter	\x0bae	134	# TAMIL sign MA
93letter	\x0baf	13456	# TAMIL sign YA
94letter	\x0bb0	1235	# TAMIL sign RA
95
96sign	\x0bb1	12456	# TAMIL sign RRA
97
98sign	\x0bb2	123	# TAMIL sign LA
99
100sign	\x0bb3	456	# TAMIL sign LLA
101
102sign	\x0bb4	12356	# TAMIL sign LLLA
103
104sign	\x0bb5	1236	# TAMIL sign VA
105sign	\x0bb6	146	# TAMIL sign SHA
106sign	\x0bb7	12346	# TAMIL sign SSA
107sign	\x0bb8	234	# TAMIL sign SA
108sign	\x0bb9	125	# TAMIL sign HA
109sign	\x0bbe	345	# TAMIL VOWEL SIGN AA
110sign	\x0bbf	24	# TAMIL VOWEL SIGN I
111sign	\x0bc0	35	# TAMIL VOWEL SIGN II
112sign	\x0bc1	136	# TAMIL VOWEL SIGN U
113sign	\x0bc2	1256	# TAMIL VOWEL SIGN UU
114
115sign	\x0bc6	26	# TAMIL VOWEL SIGN E
116
117sign	\x0bc7	15	# TAMIL VOWEL SIGN EE
118sign	\x0bc8	34	# TAMIL VOWEL SIGN AI
119
120sign	\x0bca	1346	# TAMIL VOWEL SIGN O
121
122sign	\x0bcb	135	# TAMIL VOWEL SIGN OO
123sign	\x0bcc	246	# TAMIL VOWEL SIGN AU
124sign	\x0bcd	4	# TAMIL SIGN VIRAMA
125sign	\x0be6	245	# TAMIL DIGIT ZERO
126sign	\x0be7	1	# TAMIL DIGIT ONE
127sign	\x0be8	12	# TAMIL DIGIT TWO
128sign	\x0be9	14	# TAMIL DIGIT THREE
129sign	\x0bea	145	# TAMIL DIGIT FOUR
130sign	\x0beb	15	# TAMIL DIGIT FIVE
131sign	\x0bec	124	# TAMIL DIGIT SIX
132sign	\x0bed	1245	# TAMIL DIGIT SEVEN
133sign	\x0bee	125	# TAMIL DIGIT EIGHT
134sign	\x0bef	24	# TAMIL DIGIT NINE
135
136#--------
137# half characters
138
139always \x0b95\x0bcd 4-13
140always \x0b99\x0bcd 4-346
141always \x0b9a\x0bcd 4-14
142always \x0b9e\x0bcd 4-25
143always \x0b9f\x0bcd 4-23456
144always \x0ba3\x0bcd 4-3456
145always \x0ba4\x0bcd 4-2345
146always \x0ba8\x0bcd 4-1345
147always \x0baa\x0bcd 4-1234
148always \x0bae\x0bcd 4-134
149always \x0baf\x0bcd 4-13456
150always \x0bb0\x0bcd 4-1235
151always \x0bb2\x0bcd 4-123
152always \x0bb5\x0bcd 4-1236
153always \x0bb4\x0bcd 4-12356
154always \x0bb3\x0bcd 4-456
155always \x0bb1\x0bcd 4-12456
156always \x0ba9\x0bcd 4-56
157always \x0b9c\x0bcd 4-245
158always \x0bb7\x0bcd 4-12346
159always \x0bb8\x0bcd 4-234
160always \x0bb9\x0bcd 4-125
161
162# words and partwords
163# sri
164word \x0bb8\x0bcd\x0bb0\x0bc0 234
165
166always \x0b95\x0bcd\x0bb7 12345   #ksh
167always \x0b95\x0bcd\x0bb7\x0bcd 4-12345   #ksh with varama
168