New file.
[m17n/m17n-contrib.git] / im / ta-vutam.mim
1 ;; ta-vutam.mim -- Tamil input method for "vutam"  Type_As_You_Write layout
2 ;; Copyright (c) 2009 V.Ramasami <v.ramasami@gmail.com>
3
4 ;; This file is part of the m17n contrib; a sub-part of the m17n library.
5
6 ;; The m17n library is free software; you can redistribute it and/or
7 ;; modify it under the terms of the GNU Lesser General Public License
8 ;; as published by the Free Software Foundation; either version 2.1 of
9 ;; the License, or (at your option) any later version.
10
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
16 ;; You should have received a copy of the GNU Lesser General Public
17 ;; License along with the m17n library; if not, write to the Free
18 ;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 ;; Boston, MA 02110-1301, USA.
20
21
22 ;; Begin author's comments:
23
24 ;; Vutam Type_As_You_Write is suitable for 3 basket mechanical type writers.
25 ;; Had the Unicode encoding scheme followed that of TSCII, Vutam can run even in unintelligent keyboards with atleast three baskets.
26 ;; The intelligent SCIM supports many baskets; the third basket is selected in it, by pressing any Alt key & a Normal key together.
27 ;; Basket one Normal: Short vowels & Consonants.
28 ;; Basket two Shift: Long vowels & consonants with "u" vowel mark.
29 ;; Basket three Alt.: Tamil abbreviations, Numerals & consonants with "U" vowel mark. (H & space space h may also be used to get u & U vowel mark hooks.)
30 ;; Hence the name: VUTAM.
31 ;; The vowel marks: "ai", "e" and "E" to be typed before the consonants, as in writing Tamil.
32 ;; Hence the name: Type_As_You_Write.
33 ;; Key allocation scheme: (1). No logic: \ & q  (2). Script similarity: w & f  (3). Convention: z,x & b(big)  & (4). Phonetic similarity: Rest.
34 ;;
35 ;; Author: V.Ramasami <v.ramasami@gmail.com>, www.geocities.com/vee_ramasami
36
37 ;; End author's comments.
38
39
40 (input-method ta vutam)
41 (title "க")
42 (map
43  (trans
44
45   ((A-`) ?௰)
46   ((A-1) ?௧)
47   ((A-2) ?௨)
48   ((A-3) ?௩)
49   ((A-4) ?௪)
50   ((A-5) ?௫)
51   ((A-6) ?௬)
52   ((A-7) ?௭)
53   ((A-8) ?௮)
54   ((A-9) ?௯)
55   ((A-0) ?0)
56   ((A--) ?{)
57   ((A-=) ?})
58   ("q" ?ந)
59   ("Q" "நு")
60   ((A-q) "நூ")
61   ("w" ?ய)
62   ("W" "யு")
63   ((A-w) "யூ")
64   ("e" ?இ)
65   ("E" ?ஈ)
66   ((A-e) ?௹)
67   ("r" ?ர)
68   ("R" "ரு")
69   ((A-r) "ரூ")
70   ("t" ?த)
71   ("T" "து")
72   ((A-t) "தூ")
73   ("y" ?எ)
74   ("Y" ?ஏ)
75   ((A-y) ?௵)
76   ("u" ?உ)
77   ("U" ?ஊ)
78   ((A-u) ?௴)
79   ("i" ?ஐ)
80   ("I" " ை")
81   ((A-i) ?௳)
82   ("o" ?ஒ)
83   ("O" ?ஓ)
84   ((A-o) ?௸)
85   ("p" ?ப)
86   ("P" "பு")
87   ((A-p) "பூ")
88   ("[" " ெ") 
89   ("{" " ே")
90   ((A-[) ?[)
91   ("]" ?ி)
92   ("}" ?ீ)
93   ((A-]) ?])
94   ("\\" ?ஞ)
95   ("|" "ஞு")
96   ((A-\\) "ஞூ")
97   ("a" ?அ)
98   ("A" ?ஆ)
99   ((A-a) ?ஃ)
100   ("s" ?ஸ)
101   ("S" ?ஷ)
102   ((A-s) "ஸ்ரீ")
103   ("d" ?ட)
104   ("D" "டு")
105   ((A-d) "டூ")
106   ("f" ?ள)
107   ("F" "ளு")
108   ((A-f) "ளூ")
109   ("g" ?ங)
110   ("G" "ஙு")
111   ((A-g) "ஙூ")
112   ("h" ?ஹ)
113   ("H" ?ு)
114   ((A-h) ?ூ)
115   ("j" ?ஜ)
116   ("J" "க்ஷ")
117   ((A-j) ?௺)
118   ("k" ?க)
119   ("K" "கு")
120   ((A-k) "கூ")
121   ("l" ?ல)
122   ("L" "லு")
123   ((A-l) "லூ")
124   ((A-;) ?§)
125   ("'" ?்)
126   ((A-') ?')
127   ("z" ?ழ)
128   ("Z" "ழு")
129   ((A-z) "ழூ")
130   ("x" ?ற)
131   ("X" "று")
132   ((A-x) "றூ")
133   ("c" ?ச)
134   ("C" "சு")
135   ((A-c) "சூ")
136   ("v" ?வ)
137   ("V" "வு")
138   ((A-v) "வூ")
139   ("b" ?ண)
140   ("B" "ணு")
141   ((A-b) "ணூ")
142   ("n" ?ன)
143   ("N" "னு")
144   ((A-n) "னூ")
145   ("m" ?ம)
146   ("M" "மு")
147   ((A-m) "மூ")
148   ((A-,) ?\\)
149   ((A-.) ?|)
150   ("/" ?ா)
151   ((A-/) ?/)
152   ("of" ?ஔ)
153   ("[k" "கெ")
154   ("[c" "செ")
155   ("[d" "டெ")
156   ("[t" "தெ")
157   ("[p" "பெ")
158   ("[x" "றெ")
159   ("[w" "யெ")
160   ("[r" "ரெ")
161   ("[l" "லெ")
162   ("[v" "வெ")
163   ("[z" "ழெ")
164   ("[f" "ளெ")
165   ("[g" "ஙெ")
166   ("[`" "ஞெ")
167   ("[b" "ணெ")
168   ("[q" "நெ")
169   ("[m" "மெ")
170   ("[n" "னெ")
171   ("[s" "ஸெ")
172   ("[h" "ஹெ")
173   ("[j" "ஜெ")
174   ("[S" "ஷெ")
175   ("[J" "க்ஷெ")
176   ("Ik" "கை")
177   ("Ic" "சை")
178   ("Id" "டை")
179   ("It" "தை")
180   ("Ip" "பை")
181   ("Ix" "றை")
182   ("Iw" "யை")
183   ("Ir" "ரை")
184   ("Il" "லை")
185   ("Iv" "வை")
186   ("Iz" "ழை")
187   ("If" "ளை")
188   ("Ig" "ஙை")
189   ("I`" "ஞை")
190   ("Ib" "ணை")
191   ("Iq" "நை")
192   ("Im" "மை")
193   ("In" "னை")
194   ("Is" "ஸை")
195   ("Ih" "ஹை")
196   ("Ij" "ஜை")
197   ("IS" "ஷை")
198   ("IJ" "க்ஷை")
199   ("{k" "கே")
200   ("{c" "சே")
201   ("{d" "டே")
202   ("{t" "தே")
203   ("{p" "பே")
204   ("{x" "றே")
205   ("{w" "யே")
206   ("{r" "ரே")
207   ("{l" "லே")
208   ("{v" "வே")
209   ("{z" "ழே")
210   ("{f" "ளே")
211   ("{g" "ஙே")
212   ("{`" "ஞே")
213   ("{b" "ணே")
214   ("{q" "நே")
215   ("{m" "மே")
216   ("{n" "னே")
217   ("{s" "ஸே")
218   ("{h" "ஹே")
219   ("{j" "ஜே")
220   ("{S" "ஷே")
221   ("{J" "க்ஷே")
222   ("[kf" "கௌ")
223   ("[cf" "சௌ")
224   ("[df" "டௌ")
225   ("[tf" "தௌ")
226   ("[pf" "பௌ")
227   ("[xf" "றௌ")
228   ("[wf" "யௌ")
229   ("[rf" "ரௌ")
230   ("[lf" "லௌ")
231   ("[vf" "வௌ")
232   ("[zf" "ழௌ")
233   ("[ff" "ளௌ")
234   ("[gf" "ஙௌ")
235   ("[`f" "ஞௌ")
236   ("[bf" "ணௌ")
237   ("[qf" "நௌ")
238   ("[mf" "மௌ")
239   ("[nf" "னௌ")
240   ("[sf" "ஸௌ")
241   ("[hf" "ஹௌ")
242   ("[jf" "ஜௌ")
243   ("[Sf" "ஷௌ")
244   ("[Jf" "க்ஷௌ")
245
246 ))
247
248 (state
249   (init
250     (trans)))