490649e3687f4a6fc9ba6c883a7fa8debdc28c4a
[m17n/m17n-contrib.git] / im / ml-inscript.mim
1 ;; ml-inscript.mim -- Malayalam input method for inscript layout
2 ;; This file is derived from the Malayalam inscript table of scim-tables,
3 ;; which was derived from iiimf unitLE's Malayalam inscript layout.
4 ;; Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved.
5
6 ;; This file is part of the m17n contrib; a sub-part of the m17n
7 ;; library.
8
9 ;; The library is free software; you can redistribute it and/or
10 ;; modify it under the terms of the GNU Lesser General Public License
11 ;; as published by the Free Software Foundation; either version 2.1 of
12 ;; the License, or (at your option) any later version.
13
14 ;; The library is distributed in the hope that it will be useful,
15 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17 ;; Lesser General Public License for more details.
18
19 ;; You should have received a copy of the GNU Lesser General Public
20 ;; License along with the library; if not, write to the Free
21 ;; Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
22 ;; 02111-1307, USA.
23
24 (input-method ml inscript)
25
26 (description "Malayalam input method for inscript layout.
27
28 Key summary:
29
30 Case 1:
31 The  conjuncts called CHILLU letters can be resolved using the following keys:
32
33 (i) IN - na + chandrakala + zero width joiner(zwj)
34 ie, key 'V' + key 'D' + key ']'
35
36 (ii)IL - la + chandrakala + zero width joiner(zwj)
37 ie, key 'N' + key 'D' + key ']'
38
39 (iii)IRR - rra(or ra) + chandrakala + zero width joiner(zwj)
40 ie, key 'J' + key 'D' + key ']'
41
42 (iv)INN - nna + chandrakala + zero width joiner(zwj)
43 ie, key 'C' + key 'D' + key ']'
44
45 (v)ILL - ill + chandrakala + zero width joiner(zwj)
46 ie, shift key 'N' + key 'D' + key ']'
47
48 Case 2:
49 The following set of conjuncts are formed as shown below:
50
51 (i) INGA - gha + chandrakala + ka
52 ie, shift key 'U' + key 'D' + key 'K'               
53
54 (ii)INTHA - na + chandrakala + tha
55 ie, key 'V'  + key 'D' + key 'L'
56
57 (iii)INCHA - nja + chandrakala + cha
58 ie, shift key '}' + key 'D' + key ';'
59
60 (iv)INDA - nna + chandrakala + da
61 ie, shift key 'C' + key 'D' + key '\"'
62
63 (v)INPA - na + chandrakala + pa
64 ie, key 'V' + key 'D' + key 'H'
65
66 Case 3:
67
68 The conjuncts called \"Koottaksharangal\" are formed as below:
69
70 (i) KKA - ka + chankrakala + ka
71 ie, key 'K' + key 'D' + key 'K'
72
73 (ii)NGHA - nga + chankrakala + nga
74 ie,shift key 'U' + key 'D' + shift key 'U'
75
76 (iii)CCHA - cha + chankrakala + cha
77 ie,key ';' + key 'D' + key ';'
78
79 (iv)NJJA - nja + chankrakala + nja
80 ie,shift key '}' + key 'D' + shift key '}'
81
82 (v)TTA - ta + chankrakala + ta
83 ie, key '\"' + key 'D' + key '\"' 
84
85 (vi)NNNA - nna + chankrakala + nna 
86 ie, shift key 'C' + key 'D' + shift key 'C' 
87
88 (vii)TTHA - tha + chankrakala + tha
89 ie, key 'L' + key 'D' +  key 'L' 
90
91 (viii)NNA - na + chankrakala + na
92 ie, key 'V' + key 'D' +  key 'V' 
93
94 (ix)MMA -ma + chankrakala + ma
95 ie, key 'C' + key 'D' + key 'C'
96
97 (x)LLA - la + chankrakala + la
98 ie, shift key 'N' + key 'D' + shift key 'N' 
99
100 (xi)VVA - va + chankrakala + va
101 ie, key 'B' + key 'D' + key 'B'
102
103 (xii)YYA - ya + chankrakala + ya
104 ie, key '?' + key 'D' + key '?'
105
106 (xiii)SSHA -sha + chankrakala +sha 
107 ie, shift 'M' + key 'D' + shift 'M' 
108
109 (xiv)SSA - sa  + chankrakala + sa
110 ie, key 'M' + key 'D' + key 'M' 
111
112 (xv)LLLA - lla + chankrakala + lla
113 ie, shift key 'N' + key 'D' + shift key 'N'
114
115 (xvi)TTTA - tta + chankrakala + tta
116 ie, shift key 'J' + key 'D' + shift key 'J' 
117
118 Special case:
119
120 NTA - na + chandrakala + zero width joiner(zwj) + rra
121 ie, key 'V' + key 'D' + key ']' + shift key 'J'
122
123 Author: Ani Peter <apeter@redhat.com>
124
125 ")
126
127 (title "ക")
128
129 (map
130  (trans
131   ("!" "!")
132   ("1" "൧")
133   ("@" "@")
134   ("2" "൨")
135   ("3" "൩")
136   ("$" "$")
137   ("4" "൪")
138   ("%" "%")
139   ("5" "൫")
140   ("^" "^")
141   ("6" "൬")
142   ("7" "൭")
143   ("*" "*")
144   ("8" "൮")
145   ("(" "(")
146   ("9" "൯")
147   (")" ")")
148   ("0" "൦")
149   ("_" "ഃ")
150   ("-" "-")
151   ("+" "ഋ")
152   ("=" "ൃ")
153   ("Q" "ഔ")
154   ("q" "ൌ")
155   ("W" "ഐ")
156   ("w" "ൈ")
157   ("E" "ആ")
158   ("e" "ാ")
159   ("R" "ഈ")
160   ("r" "ീ")
161   ("T" "ഊ")
162   ("t" "ൂ")
163   ("Y" "ഭ")
164   ("y" "ബ")
165   ("U" "ങ")
166   ("u" "ഹ")
167   ("I" "ഘ")
168   ("i" "ഗ")
169   ("O" "ധ")
170   ("o" "ദ")
171   ("P" "ഝ")
172   ("p" "ജ")
173   ("{" "ഢ")
174   ("[" "ഡ")
175   ("}" "ഞ")
176   ("]" "]")
177   ("A" "ഓ")
178   ("a" "ോ")
179   ("S" "ഏ")
180   ("s" "േ")
181   ("D" "അ")
182   ("d" "്")
183   ("F" "ഇ")
184   ("f" "ി")
185   ("G" "ഉ")
186   ("g" "ു")
187   ("H" "ഫ")
188   ("h" "പ")
189   ("J" "റ")
190   ("j" "ര")
191   ("K" "ഖ")
192   ("k" "ക")
193   ("L" "ഥ")
194   ("l" "ത")
195   (":" "ഛ")
196   ("\;" "ച")
197   ("\"" "ഠ")
198   ("'" "ട")
199   ("|" "|")
200   ("\\" "\\")
201   ("~" "ഒ")
202   ("`" "ൊ")
203   ("Z" "എ")
204   ("z" "െ")
205   ("X" "X")
206   ("x" "ം")
207   ("C" "ണ")
208   ("c" "മ")
209   ("V" "V")
210   ("v" "ന")
211   ("B" "ഴ")
212   ("b" "വ")
213   ("N" "ള")
214   ("n" "ല")
215   ("M" "ശ")
216   ("m" "സ")
217   ("<" "ഷ")
218   ("," ",")
219   (">" ">")
220   ("." ".")
221   ("/" "യ")
222   ("#" "്ര")
223   ("&" "ക്ഷ")
224   ))
225
226 (state
227   (init
228     (trans)))