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