Versions changed to 1.6.2.
[m17n/m17n-db.git] / MIM / pa-itrans.mim
1 ;; pa-itrans.mim -- Punjabi input method with ITRANS method
2 ;; Copyright (C) 2003, 2004, 2005, 2006, 2007
3 ;;   National Institute of Advanced Industrial Science and Technology (AIST)
4 ;;   Registration Number H15PRO112
5
6 ;; This file is part of the m17n database; 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 pa itrans)
25
26 (description "Panjabi input method by ITRANS transliteration.
27 For the detail of ITRANS, see the page:
28   <http://www.aczoom.com/itrans/>
29 ")
30
31 (title "ਕ")
32
33 (map
34  (starter
35   (".") ("~") ("#") ("$") ("^") ("*") ((S-\ )) ((C-@))
36   ("0") ("1") ("2") ("3") ("4")
37   ("5") ("6") ("7") ("8") ("9")
38   ("A") ("C") ("D") ("G") ("H") ("I") ("J") ("K") ("L")
39   ("M") ("N") ("O") ("R") ("S") ("T") ("U") ("Y")
40   ("a") ("b") ("c") ("d") ("e") ("f") ("g") ("h") ("i")
41   ("j") ("k") ("l") ("m") ("n") ("o") ("p") ("q") ("r")
42   ("s") ("t") ("u") ("v") ("w") ("x") ("y") ("z")
43   ((KP_1)) ((KP_2)) ((KP_3)) ((KP_4)) ((KP_5))
44   ((KP_6)) ((KP_7)) ((KP_8)) ((KP_9)) ((KP_0)))
45
46  (consonant
47   ("k" "ਕ੍")
48   ("kh" "ਖ੍")
49   ("g" "ਗ੍")
50   ("gh" "ਘ੍")
51   ("N^" "ਙ੍")
52   ("~N" "ਙ੍")                               ; not in ITRANS Gurmukhi table
53   ("c" "ਚ੍")
54   ("ch" "ਛ੍")
55   ("Ch" "ਛ੍")                               ; not in ITRANS Gurmukhi table
56   ("chh" "ਛ੍")                              ; not in ITRANS Gurmukhi table
57   ("j" "ਜ੍")
58   ("jh" "ਝ੍")
59   ("~n" "ਞ੍")
60   ("JN" "ਞ੍")                               ; not in ITRANS Gurmukhi table
61   ("T" "ਟ੍")
62   ("Th" "ਠ੍")
63   ("D" "ਡ੍")
64   ("Dh" "ਢ੍")
65   ("N" "ਣ੍")
66   ("t" "ਤ੍")
67   ("th" "ਥ੍")
68   ("d" "ਦ੍")
69   ("dh" "ਧ੍")
70   ("n" "ਨ੍")
71   ("p" "ਪ੍")
72   ("ph" "ਫ੍")
73   ("b" "ਬ੍")
74   ("bh" "ਭ੍")
75   ("m" "ਮ੍")
76   ("y" "ਯ੍")
77   ("r" "ਰ੍")
78   ("l" "ਲ੍")
79   ("L" "ਲ਼੍")
80   ("ld" "ਲ਼੍")                               ; not in ITRANS Gurmukhi table
81   ("v" "ਵ੍")
82   ("w" "ਵ੍")                                ; not in ITRANS Gurmukhi table
83   ("sh" "ਸ਼੍")
84   ("s" "ਸ੍")
85   ("h" "ਹ੍")
86   ("K" "ਖ਼੍")
87   ("G" "ਗ਼੍")
88   ("J" "ਜ਼੍")
89   ("z" "ਜ਼੍")
90   (".D" "ੜ੍")
91   ("f" "ਫ਼੍")
92   ("GY" "ਜ੍ਞ੍")                         ; not in ITRANS Gurmukhi table
93   ("dny" "ਜ੍ਞ੍"))                       ; not in ITRANS Gurmukhi table
94
95  (independent
96   ("a" "ਅ")
97   ("aa" "ਆ")
98   ("A" "ਆ")                           ; not in ITRANS Gurmukhi table
99   ("i" "ਇ")
100   ("ii" "ਈ")
101   ("I" "ਈ")                           ; not in ITRANS Gurmukhi table
102   ("u" "ਉ")
103   ("uu" "ਊ")
104   ("U" "ਊ")                           ; not in ITRANS Gurmukhi table
105   ("e" "ਏ")
106   ("ai" "ਐ")
107   ("o" "ਓ")
108   ("au" "ਔ")
109   (".N" "ਁ")
110   (".n" "ਂ")
111   ("M" "ਂ")
112   ("H" "ਃ")
113   (".h" "੍")
114   ("0" "੦")
115   ("1" "੧")
116   ("2" "੨")
117   ("3" "੩")
118   ("4" "੪")
119   ("5" "੫")
120   ("6" "੬")
121   ("7" "੭")
122   ("8" "੮")
123   ("9" "੯")
124   ("#" "੍ਰ")                                ; not in ITRANS Gurmukhi table
125   ("$" "ਰ੍")                                ; not in ITRANS Gurmukhi table
126   ("^" "ਤ੍ਰ")                             ; not in ITRANS Gurmukhi table
127   ("*" "ਸ਼੍ਰ")                             ; not in ITRANS Gurmukhi table
128   ("]" "਼")                           ; not in ITRANS Gurmukhi table
129   ((KP_1) "੧")
130   ((KP_2) "੨")
131   ((KP_3) "੩")
132   ((KP_4) "੪")
133   ((KP_5) "੫")
134   ((KP_6) "੬")
135   ((KP_7) "੭")
136   ((KP_8) "੮")
137   ((KP_9) "੯")
138   ((KP_0) "੦")
139   ((S-\ ) "‌")                                ; not in ITRANS Gurmukhi table
140   ((C-@) "‍"))                                ; not in ITRANS Gurmukhi table
141
142  (dependent
143   ("a" (delete @-) "")
144   ("aa" (delete @-) "ਾ")
145   ("A" (delete @-) "ਾ")
146   ("i" (delete @-) "ਿ")
147   ("ii" (delete @-) "ੀ")
148   ("I" (delete @-) "ੀ")
149   ("u" (delete @-) "ੁ")
150   ("uu" (delete @-) "ੂ")
151   ("U" (delete @-) "ੂ")
152   ("e" (delete @-) "ੇ")
153   ("ai" (delete @-) "ੈ")
154   ("o" (delete @-) "ੋ")
155   ("au" (delete @-) "ੌ"))
156
157  (return
158   ((Return)))
159
160  (backspace
161   ((BackSpace) (undo))))
162
163
164 (state
165  (init
166   (starter (pushback 1) (shift intermediate)))
167
168  (intermediate
169   (consonant (shift second))
170   (independent (shift init))
171   (backspace)
172   (return (shift init)))
173
174  (second
175   (consonant)
176   (dependent (shift init))
177   (backspace)
178   (return (shift init))))
179
180 ;; Local Variables:
181 ;; coding: utf-8
182 ;; mode: emacs-lisp
183 ;; End: