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