PageRenderTime 22ms CodeModel.GetById 11ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 1ms

/ibus-m17n/ml-inscript.mim

http://naaraayam.googlecode.com/
Unknown | 247 lines | 200 code | 47 blank | 0 comment | 0 complexity | 61bf768741bb7f9afc136856b7798b1a MD5 | raw file
  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 m17n 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 m17n 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 m17n library; if not, write to the Free
 21;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 22;; Boston, MA 02110-1301, USA.
 23
 24(input-method ml inscript)
 25
 26(description "Malayalam input method for inscript layout.
 27
 28Key summary:
 29
 30ZWNJ is mapped to '\\' key.
 31
 32Case 1:
 33The  conjuncts called CHILLU letters can be resolved using the following keys:
 34
 35(i) IN - na + chandrakala + zero width joiner(zwj)
 36ie, key 'V' + key 'D' + key ']'
 37
 38(ii)IL - la + chandrakala + zero width joiner(zwj)
 39ie, key 'N' + key 'D' + key ']'
 40
 41(iii)IRR - rra(or ra) + chandrakala + zero width joiner(zwj)
 42ie, key 'J' + key 'D' + key ']'
 43
 44(iv)INN - nna + chandrakala + zero width joiner(zwj)
 45ie, key 'C' + key 'D' + key ']'
 46
 47(v)ILL - ill + chandrakala + zero width joiner(zwj)
 48ie, shift key 'N' + key 'D' + key ']'
 49
 50Case 2:
 51The following set of conjuncts are formed as shown below:
 52
 53(i) INGA - gha + chandrakala + ka
 54ie, shift key 'U' + key 'D' + key 'K'               
 55
 56(ii)INTHA - na + chandrakala + tha
 57ie, key 'V'  + key 'D' + key 'L'
 58
 59(iii)INCHA - nja + chandrakala + cha
 60ie, shift key '}' + key 'D' + key ';'
 61
 62(iv)INDA - nna + chandrakala + da
 63ie, shift key 'C' + key 'D' + key '\"'
 64
 65(v)INPA - na + chandrakala + pa
 66ie, key 'V' + key 'D' + key 'H'
 67
 68Case 3:
 69
 70The conjuncts called \"Koottaksharangal\" are formed as below:
 71
 72(i) KKA - ka + chankrakala + ka
 73ie, key 'K' + key 'D' + key 'K'
 74
 75(ii)NGHA - nga + chankrakala + nga
 76ie,shift key 'U' + key 'D' + shift key 'U'
 77
 78(iii)CCHA - cha + chankrakala + cha
 79ie,key ';' + key 'D' + key ';'
 80
 81(iv)NJJA - nja + chankrakala + nja
 82ie,shift key '}' + key 'D' + shift key '}'
 83
 84(v)TTA - ta + chankrakala + ta
 85ie, key '\"' + key 'D' + key '\"' 
 86
 87(vi)NNNA - nna + chankrakala + nna 
 88ie, shift key 'C' + key 'D' + shift key 'C' 
 89
 90(vii)TTHA - tha + chankrakala + tha
 91ie, key 'L' + key 'D' +  key 'L' 
 92
 93(viii)NNA - na + chankrakala + na
 94ie, key 'V' + key 'D' +  key 'V' 
 95
 96(ix)MMA -ma + chankrakala + ma
 97ie, key 'C' + key 'D' + key 'C'
 98
 99(x)LLA - la + chankrakala + la
100ie, shift key 'N' + key 'D' + shift key 'N' 
101
102(xi)VVA - va + chankrakala + va
103ie, key 'B' + key 'D' + key 'B'
104
105(xii)YYA - ya + chankrakala + ya
106ie, key '?' + key 'D' + key '?'
107
108(xiii)SSHA -sha + chankrakala +sha 
109ie, shift 'M' + key 'D' + shift 'M' 
110
111(xiv)SSA - sa  + chankrakala + sa
112ie, key 'M' + key 'D' + key 'M' 
113
114(xv)LLLA - lla + chankrakala + lla
115ie, shift key 'N' + key 'D' + shift key 'N'
116
117(xvi)TTTA - tta + chankrakala + tta
118ie, shift key 'J' + key 'D' + shift key 'J' 
119
120Special case:
121
122NTA - na + chandrakala + zero width joiner(zwj) + rra
123ie, key 'V' + key 'D' + key ']' + shift key 'J'
124
125Author: Ani Peter <apeter@redhat.com>
126
127")
128
129(title "ക")
130
131(map
132 (trans
133 
134  ((KP_1) "൧")
135  ((KP_2) "൨")
136  ((KP_3) "൩")
137  ((KP_4) "൪")
138  ((KP_5) "൫")
139  ((KP_6) "൬")
140  ((KP_7) "൭")
141  ((KP_8) "൮")
142  ((KP_9) "൯")
143  ((KP_0) "൦")
144  ((KP_Decimal) ".")
145  ((KP_Divide) "/")
146  ((KP_Multiply) "*")
147  ((KP_Add) "+")
148  ((KP_Subtract) "-") 
149 
150  ("!" "!")
151  ("1" "൧")
152  ("@" "@")
153  ("2" "൨")
154  ("3" "൩")
155  ("$" "$")
156  ("4" "൪")
157  ("%" "%")
158  ("5" "൫")
159  ("^" "^")
160  ("6" "൬")
161  ("7" "൭")
162  ("*" "*")
163  ("8" "൮")
164  ("(" "(")
165  ("9" "൯")
166  (")" ")")
167  ("0" "൦")
168  ("_" "ഃ")
169  ("-" "-")
170  ("+" "ഋ")
171  ("=" "ൃ")
172  ("Q" "ഔ")
173  ("q" "ൗ")
174  ("W" "ഐ")
175  ("w" "ൈ")
176  ("E" "ആ")
177  ("e" "ാ")
178  ("R" "ഈ")
179  ("r" "ീ")
180  ("T" "ഊ")
181  ("t" "ൂ")
182  ("Y" "ഭ")
183  ("y" "ബ")
184  ("U" "ങ")
185  ("u" "ഹ")
186  ("I" "ഘ")
187  ("i" "ഗ")
188  ("O" "ധ")
189  ("o" "ദ")
190  ("P" "ഝ")
191  ("p" "ജ")
192  ("{" "ഢ")
193  ("[" "ഡ")
194  ("}" "ഞ")
195  ("]" "‍")
196  ("A" "ഓ")
197  ("a" "ോ")
198  ("S" "ഏ")
199  ("s" "േ")
200  ("D" "അ")
201  ("d" "്")
202  ("F" "ഇ")
203  ("f" "ി")
204  ("G" "ഉ")
205  ("g" "ു")
206  ("H" "ഫ")
207  ("h" "പ")
208  ("J" "റ")
209  ("j" "ര")
210  ("K" "ഖ")
211  ("k" "ക")
212  ("L" "ഥ")
213  ("l" "ത")
214  (":" "ഛ")
215  (";" "ച")
216  ("\"" "ഠ")
217  ("'" "ട")
218  ("|" "|")
219  ("\\" "‌")
220  ("~" "ഒ")
221  ("`" "ൊ")
222  ("Z" "എ")
223  ("z" "െ")
224  ("X" "X")
225  ("x" "ം")
226  ("C" "ണ")
227  ("c" "മ")
228  ("V" "V")
229  ("v" "ന")
230  ("B" "ഴ")
231  ("b" "വ")
232  ("N" "ള")
233  ("n" "ല")
234  ("M" "ശ")
235  ("m" "സ")
236  ("<" "ഷ")
237  ("," ",")
238  (">" ">")
239  ("." ".")
240  ("/" "യ")
241  ("#" "്ര")
242  ("&" "ക്ഷ")
243  ))
244
245(state
246  (init
247    (trans)))