blob: 7ab18cd20b3ff213eb1731acdbadf5a3e9ba2680 [file] [log] [blame]
# This table contains braille codes and rules for Malayalam script.
#
# Copyright (C) 2014 National Institute for Visually Handicapped, 116, Rajpur Road, Dehradun, Uttrakhand, India
#
# This file is part of liblouis.
#
# liblouis is free software: you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation, either version 2.1 of the
# License, or (at your option) any later version.
#
# liblouis is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with liblouis. If not, see
# <http://www.gnu.org/licenses/>.
# This table is built and maintained under an activity of Braille Council of India
# Contributors: Dipendra Manocha, Sreeja, Dinesh Kaushal, Mesar Hameed
# Last updated on May 5, 2014
# To report any bugs or any suggestion, please write to d@saksham.org and sreeja.param@gmail.com
include braille-patterns.cti
letter \x0D02 56 # MALAYALAM SIGN ANUSVARA
letter \x0D03 6 # MALAYALAM SIGN VISARGA
letter \x0D05 1 # MALAYALAM LETTER A
letter \x0D06 345 # MALAYALAM LETTER AA
letter \x0D07 24 # MALAYALAM LETTER I
letter \x0D08 35 # MALAYALAM LETTER II
letter \x0D09 136 # MALAYALAM LETTER U
letter \x0D0A 1256 # MALAYALAM LETTER UU
letter \x0D0B 5-1235 # MALAYALAM LETTER VOCALIC R
letter \x0D0C 5-123 # MALAYALAM LETTER VOCALIC L
letter \x0D0E 26 # MALAYALAM LETTER E
letter \x0D0F 15 # MALAYALAM LETTER EE
letter \x0D10 34 # MALAYALAM LETTER AI
letter \x0D12 1346 # MALAYALAM LETTER O
letter \x0D13 135 # MALAYALAM LETTER OO
letter \x0D14 246 # MALAYALAM LETTER AU
replace \x200D
letter \x0D15 13 # MALAYALAM LETTER KA
letter \x0D16 46 # MALAYALAM LETTER KHA
letter \x0D17 1245 # MALAYALAM LETTER GA
letter \x0D18 126 # MALAYALAM LETTER GHA
letter \x0D19 346 # MALAYALAM LETTER NGA
letter \x0D1A 14 # MALAYALAM LETTER CA= CHA
letter \x0D1B 16 # MALAYALAM LETTER CHA= CHHA
letter \x0D1C 245 # MALAYALAM LETTER JA
letter \x0D1D 356 # MALAYALAM LETTER JHA
letter \x0D1E 25 # MALAYALAM LETTER NYA= NHA
letter \x0D1F 23456 # MALAYALAM LETTER TTA= TA
letter \x0D20 2456 # MALAYALAM LETTER TTHA= TTA
letter \x0D21 1246 # MALAYALAM LETTER DDA= HARD DA
letter \x0D22 123456 # MALAYALAM LETTER DDHA= HARD DDA
letter \x0D23 3456 # MALAYALAM LETTER NNA= HARD NA
letter \x0D24 2345 # MALAYALAM LETTER TA= THA
letter \x0D25 1456 # MALAYALAM LETTER THA= TTHA
letter \x0D26 145 # MALAYALAM LETTER DA= SOFT DA
letter \x0D27 2346 # MALAYALAM LETTER DHA= SOFT DDA
letter \x0D28 1345 # MALAYALAM LETTER NA
letter \x0D2A 1234 # MALAYALAM LETTER PA
letter \x0D2B 235 # MALAYALAM LETTER PHA
letter \x0D2C 12 # MALAYALAM LETTER BA
letter \x0D2D 45 # MALAYALAM LETTER BHA
letter \x0D2E 134 # MALAYALAM LETTER MA
letter \x0D2F 13456 # MALAYALAM LETTER YA
letter \x0D30 1235 # MALAYALAM LETTER RA
letter \x0D31 12456 # MALAYALAM LETTER RRA
letter \x0D32 123 # MALAYALAM LETTER LA
letter \x0D33 456 # MALAYALAM LETTER LLA
letter \x0D34 12356 # MALAYALAM LETTER LLLA= ZHA
letter \x0D35 1236 # MALAYALAM LETTER VA
letter \x0D36 146 # MALAYALAM LETTER SHA= SOFT SHA
letter \x0D37 12346 # MALAYALAM LETTER SSA= SHA
letter \x0D38 234 # MALAYALAM LETTER SA
letter \x0D39 125 # MALAYALAM LETTER HA
letter \x0D3E 345 # MALAYALAM VOWEL SIGN AA
letter \x0D3F 24 # MALAYALAM VOWEL SIGN I
letter \x0D40 35 # MALAYALAM VOWEL SIGN II
letter \x0D41 136 # MALAYALAM VOWEL SIGN U
letter \x0D42 1256 # MALAYALAM VOWEL SIGN UU
letter \x0D43 5-1235 # MALAYALAM VOWEL SIGN VOCALIC R
letter \x0D44 6-1235 # MALAYALAM VOWEL SIGN VOCALIC RR
letter \x0D46 26 # MALAYALAM VOWEL SIGN E (stands to the left of the consonant)
letter \x0D47 15 # MALAYALAM VOWEL SIGN EE (stands to the left of the consonant)
letter \x0D48 34 # MALAYALAM VOWEL SIGN AI
letter \x0D4A 1346 # MALAYALAM VOWEL SIGN O= 0D46 ? and 0D3E ?
letter \x0D4B 135 # MALAYALAM VOWEL SIGN OO= 0D47 ? AND 0D3E ?
letter \x0D4C 246 # MALAYALAM VOWEL SIGN AU (archaic from the au/dependent vowel to 0D57 ? MALAYALAM au length mark= 0D46 ? and 0D57 ?)
letter \x0D4D 4 # MALAYALAM SIGN VIRAMA= chandrakkala (the preferred name)= vowel half U
letter \x0D60 6-1235 # MALAYALAM LETTER VOCALIC RR
letter \x0D61 6-123 # MALAYALAM LETTER VOCALIC LL
letter \x0D62 5-123 # MALAYALAM VOWEL SIGN VOCALIC L
letter \x0D63 6-123 # MALAYALAM VOWEL SIGN VOCALIC LL
letter \x0D64 256 RESERVED-0964 #Devnagari danda
letter \x0D65 256-256 RESERVED-0965 #Devnagari double danda
#digits
litdigit \x0D66 245 # MALAYALAM DIGIT ZERO
litdigit \x0D67 1 # MALAYALAM DIGIT ONE
litdigit \x0D68 12 # MALAYALAM DIGIT TWO
litdigit \x0D69 14 # MALAYALAM DIGIT THREE
litdigit \x0D6A 145 # MALAYALAM DIGIT FOUR
litdigit \x0D6B 15 # MALAYALAM DIGIT FIVE
litdigit \x0D6C 124 # MALAYALAM DIGIT SIX
litdigit \x0D6D 1245 # MALAYALAM DIGIT SEVEN
litdigit \x0D6E 125 # MALAYALAM DIGIT EIGHT
litdigit \x0D6F 24 # MALAYALAM DIGIT NINE
litdigit \x0D70 1-245 # MALAYALAM NUMBER TEN
litdigit \x0D71 1-245-245 # MALAYALAM NUMBER ONE HUNDRED
litdigit \x0D72 1-245-245-245 # MALAYALAM NUMBER ONE THOUSAND
litdigit \x0D73 1-34-145 # MALAYALAM FRACTION ONE QUARTER
litdigit \x0D74 1-34-12 # MALAYALAM FRACTION ONE HALF
litdigit \x0D75 14-34-145 # MALAYALAM FRACTION THREE QUARTERS
letter \x0D7A 4-1345 # MALAYALAM LETTER CHILLU NN
letter \x0D7B 4-1345 # MALAYALAM LETTER CHILLU N
letter \x0D7C 4-12456 # MALAYALAM LETTER CHILLU RR (historically derived from the full letter ra) and (also used for chillu r)
letter \x0D7D 4-123 # MALAYALAM LETTER CHILLU L (historically derived from the full letter ta) and (used for chillu t and chillu d)
letter \x0D7E 4-123-123 # MALAYALAM LETTER CHILLU LL
letter \x0D7F 4-13-13 # MALAYALAM LETTER CHILLU K
#half characters
always \x0D15\x0D4D 4-13 # MALAYALAM LETTER KA
always \x0D16\x0D4D 4-46 # MALAYALAM LETTER KHA
always \x0D17\x0D4D 4-1245 # MALAYALAM LETTER GA
always \x0D18\x0D4D 4-126 # MALAYALAM LETTER GHA
always \x0D19\x0D4D 4-346 # MALAYALAM LETTER NGA
always \x0D1A\x0D4D 4-14 # MALAYALAM LETTER CA= CHA
always \x0D1B\x0D4D 4-16 # MALAYALAM LETTER CHA= CHHA
always \x0D1C\x0D4D 4-245 # MALAYALAM LETTER JA
always \x0D1D\x0D4D 4-356 # MALAYALAM LETTER JHA
always \x0D1E\x0D4D 4-25 # MALAYALAM LETTER NYA= NHA
always \x0D1F\x0D4D 4-23456 # MALAYALAM LETTER TTA= TA
always \x0D20\x0D4D 4-2456 # MALAYALAM LETTER TTHA= TTA
always \x0D21\x0D4D 4-1246 # MALAYALAM LETTER DDA= HARD DA
always \x0D22\x0D4D 4-123456 # MALAYALAM LETTER DDHA= HARD DDA
always \x0D23\x0D4D 4-3456 # MALAYALAM LETTER NNA= HARD NA
always \x0D24\x0D4D 4-2345 # MALAYALAM LETTER TA= THA
always \x0D25\x0D4D 4-1456 # MALAYALAM LETTER THA= TTHA
always \x0D26\x0D4D 4-145 # MALAYALAM LETTER DA= SOFT DA
always \x0D27\x0D4D 4-2346 # MALAYALAM LETTER DHA= SOFT DDA
always \x0D28\x0D4D 4-1345 # MALAYALAM LETTER NA
always \x0D2A\x0D4D 4-1234 # MALAYALAM LETTER PA
always \x0D2B\x0D4D 4-235 # MALAYALAM LETTER PHA
always \x0D2C\x0D4D 4-12 # MALAYALAM LETTER BA
always \x0D2D\x0D4D 4-45 # MALAYALAM LETTER BHA
always \x0D2E\x0D4D 4-134 # MALAYALAM LETTER MA
always \x0D2F\x0D4D 4-13456 # MALAYALAM LETTER YA
always \x0D30\x0D4D 4-1235 # MALAYALAM LETTER RA
always \x0D31\x0D4D 4-12456 # MALAYALAM LETTER RRA
always \x0D32\x0D4D 4-123 # MALAYALAM LETTER LA
always \x0D33\x0D4D 4-456 # MALAYALAM LETTER LLA
always \x0D34\x0D4D 4-12356 # MALAYALAM LETTER LLLA= ZHA
always \x0D35\x0D4D 4-1236 # MALAYALAM LETTER VA
always \x0D36\x0D4D 4-146 # MALAYALAM LETTER SHA= SOFT SHA
always \x0D37\x0D4D 4-12346 # MALAYALAM LETTER SSA= SHA
always \x0D38\x0D4D 4-234 # MALAYALAM LETTER SA
always \x0D39\x0D4D 4-125 # MALAYALAM LETTER HA
always \x0D44\x0D4D 4-6-1235 # MALAYALAM VOWEL SIGN VOCALIC RR
always \x0D60\x0D4D 4-6-1235 # MALAYALAM LETTER VOCALIC RR
always \x0D61\x0D4D 4-6-123 # MALAYALAM LETTER VOCALIC LL
always \x0D62\x0D4D 4-5-123 # MALAYALAM VOWEL SIGN VOCALIC L
always \x0D63\x0D4D 4-6-123 # MALAYALAM VOWEL SIGN VOCALIC LL
#ksha and gya
always \x0D15\x0D4D\x0D37\x0D4D 4-12345 #ksha
always \x0D1C\x0D4D\x0D1E 156 #gya
always \x0D15\x0D4D\x0D37 12345 #ksha
#consonent followed by vowel but not matra
class MalayalamVowel \x0D07\x0D08\x0D09\x0D0A\x0D0B\x0D0C\x0D0E\x0D0F\x0D10\x0D12\x0D13\x0D14
class Halant \x0D4D
before MalayalamVowel always \x0D15 13-1 # MALAYALAM LETTER KA
before MalayalamVowel always \x0D16 46-1 # MALAYALAM LETTER KHA
before MalayalamVowel always \x0D17 1245-1 # MALAYALAM LETTER GA
before MalayalamVowel always \x0D18 126-1 # MALAYALAM LETTER GHA
before MalayalamVowel always \x0D1A 14-1 # MALAYALAM LETTER CA= CHA
before MalayalamVowel always \x0D1B 16-1 # MALAYALAM LETTER CHA= CHHA
before MalayalamVowel always \x0D1C 245-1 # MALAYALAM LETTER JA
before MalayalamVowel always \x0D1D 356-1 # MALAYALAM LETTER JHA
before MalayalamVowel always \x0D1F 23456-1 # MALAYALAM LETTER TTA= TA
before MalayalamVowel always \x0D20 2456-1 # MALAYALAM LETTER TTHA= TTA
before MalayalamVowel always \x0D21 1246-1 # MALAYALAM LETTER DDA= HARD DA
before MalayalamVowel always \x0D22 123456-1 # MALAYALAM LETTER DDHA= HARD DDA
before MalayalamVowel always \x0D23 3456-1 # MALAYALAM LETTER NNA= HARD NA
before MalayalamVowel always \x0D24 2345-1 # MALAYALAM LETTER TA= THA
before MalayalamVowel always \x0D25 1456-1 # MALAYALAM LETTER THA= TTHA
before MalayalamVowel always \x0D26 145-1 # MALAYALAM LETTER DA= SOFT DA
before MalayalamVowel always \x0D27 2346-1 # MALAYALAM LETTER DHA= SOFT DDA
before MalayalamVowel always \x0D28 1345-1 # MALAYALAM LETTER NA
before MalayalamVowel always \x0D2A 1234-1 # MALAYALAM LETTER PA
before MalayalamVowel always \x0D2B 235-1 # MALAYALAM LETTER PHA
before MalayalamVowel always \x0D2C 12-1 # MALAYALAM LETTER BA
before MalayalamVowel always \x0D2D 45-1 # MALAYALAM LETTER BHA
before MalayalamVowel always \x0D2E 134-1 # MALAYALAM LETTER MA
before MalayalamVowel always \x0D2F 13456-1 # MALAYALAM LETTER YA
before MalayalamVowel always \x0D30 1235-1 # MALAYALAM LETTER RA
before MalayalamVowel always \x0D31 12456-1 # MALAYALAM LETTER RRA
before MalayalamVowel always \x0D32 123-1 # MALAYALAM LETTER LA
before MalayalamVowel always \x0D33 456-1 # MALAYALAM LETTER LLA
before MalayalamVowel always \x0D34 12356-1 # MALAYALAM LETTER LLLA= ZHA
before MalayalamVowel always \x0D35 1236-1 # MALAYALAM LETTER VA
before MalayalamVowel always \x0D36 146-1 # MALAYALAM LETTER SHA= SOFT SHA
before MalayalamVowel always \x0D37 12346-1 # MALAYALAM LETTER SSA= SHA
before MalayalamVowel always \x0D38 234-1 # MALAYALAM LETTER SA
before MalayalamVowel always \x0D39 125-1 # MALAYALAM LETTER HA
before MalayalamVowel always \x0D44 6-1235-1 # MALAYALAM VOWEL SIGN VOCALIC RR
before MalayalamVowel always \x0D60 6-1235-1 # MALAYALAM LETTER VOCALIC RR
before MalayalamVowel always \x0D61 6-123-1 # MALAYALAM LETTER VOCALIC LL
before MalayalamVowel always \x0D62 5-123-1 # MALAYALAM VOWEL SIGN VOCALIC L
before MalayalamVowel always \x0D63 6-123-1 # MALAYALAM VOWEL SIGN VOCALIC LL