*** empty log message ***
[m17n/m17n-db.git] / pa-itrans.mim
1 ;; pa-itrans.mim -- Punjabi input method with ITRANS method
2 ;; Copyright (C) 2003, 2004, 2005, 2006
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., 59 Temple Place, Suite 330, Boston, MA
22 ;; 02111-1307, 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
44  (consonant
45   ("k" "ਕ੍")
46   ("kh" "ਖ੍")
47   ("g" "ਗ੍")
48   ("gh" "ਘ੍")
49   ("N^" "ਙ੍")
50   ("~N" "ਙ੍")                               ; not in ITRANS Gurmukhi table
51   ("c" "ਚ੍")
52   ("ch" "ਛ੍")
53   ("Ch" "ਛ੍")                               ; not in ITRANS Gurmukhi table
54   ("chh" "ਛ੍")                              ; not in ITRANS Gurmukhi table
55   ("j" "ਜ੍")
56   ("jh" "ਝ੍")
57   ("~n" "ਞ੍")
58   ("JN" "ਞ੍")                               ; not in ITRANS Gurmukhi table
59   ("T" "ਟ੍")
60   ("Th" "ਠ੍")
61   ("D" "ਡ੍")
62   ("Dh" "ਢ੍")
63   ("N" "ਣ੍")
64   ("t" "ਤ੍")
65   ("th" "ਥ੍")
66   ("d" "ਦ੍")
67   ("dh" "ਧ੍")
68   ("n" "ਨ੍")
69   ("p" "ਪ੍")
70   ("ph" "ਫ੍")
71   ("b" "ਬ੍")
72   ("bh" "ਭ੍")
73   ("m" "ਮ੍")
74   ("y" "ਯ੍")
75   ("r" "ਰ੍")
76   ("l" "ਲ੍")
77   ("L" "ਲ਼੍")
78   ("ld" "ਲ਼੍")                               ; not in ITRANS Gurmukhi table
79   ("v" "ਵ੍")
80   ("w" "ਵ੍")                                ; not in ITRANS Gurmukhi table
81   ("sh" "ਸ਼੍")
82   ("s" "ਸ੍")
83   ("h" "ਹ੍")
84   ("K" "ਖ਼੍")
85   ("G" "ਗ਼੍")
86   ("J" "ਜ਼੍")
87   ("z" "ਜ਼੍")
88   (".D" "ੜ੍")
89   ("f" "ਫ਼੍")
90   ("GY" "ਜ੍ਞ੍")                         ; not in ITRANS Gurmukhi table
91   ("dny" "ਜ੍ਞ੍"))                       ; not in ITRANS Gurmukhi table
92
93  (independent
94   ("a" "ਅ")
95   ("aa" "ਆ")
96   ("A" "ਆ")                           ; not in ITRANS Gurmukhi table
97   ("i" "ਇ")
98   ("ii" "ਈ")
99   ("I" "ਈ")                           ; not in ITRANS Gurmukhi table
100   ("u" "ਉ")
101   ("uu" "ਊ")
102   ("U" "ਊ")                           ; not in ITRANS Gurmukhi table
103   ("e" "ਏ")
104   ("ai" "ਐ")
105   ("o" "ਓ")
106   ("au" "ਔ")
107   (".N" "ਁ")
108   (".n" "ਂ")
109   ("M" "ਂ")
110   ("H" "ਃ")
111   (".h" "੍")
112   ("0" "੦")
113   ("1" "੧")
114   ("2" "੨")
115   ("3" "੩")
116   ("4" "੪")
117   ("5" "੫")
118   ("6" "੬")
119   ("7" "੭")
120   ("8" "੮")
121   ("9" "੯")
122   ("#" "੍ਰ")                                ; not in ITRANS Gurmukhi table
123   ("$" "ਰ੍")                                ; not in ITRANS Gurmukhi table
124   ("^" "ਤ੍ਰ")                             ; not in ITRANS Gurmukhi table
125   ("*" "ਸ਼੍ਰ")                             ; not in ITRANS Gurmukhi table
126   ("]" "਼")                           ; not in ITRANS Gurmukhi table
127   ((S-\ ) "‌")                                ; not in ITRANS Gurmukhi table
128   ((C-@) "‍"))                                ; not in ITRANS Gurmukhi table
129
130  (dependent
131   ("a" (delete @-) "")
132   ("aa" (delete @-) "ਾ")
133   ("A" (delete @-) "ਾ")
134   ("i" (delete @-) "ਿ")
135   ("ii" (delete @-) "ੀ")
136   ("I" (delete @-) "ੀ")
137   ("u" (delete @-) "ੁ")
138   ("uu" (delete @-) "ੂ")
139   ("U" (delete @-) "ੂ")
140   ("e" (delete @-) "ੇ")
141   ("ai" (delete @-) "ੈ")
142   ("o" (delete @-) "ੋ")
143   ("au" (delete @-) "ੌ"))
144
145  (return
146   ((Return)))
147
148  (backspace
149   ((BackSpace) (undo))))
150
151
152 (state
153  (init
154   (starter (pushback 1) (shift intermediate)))
155
156  (intermediate
157   (consonant (shift second))
158   (independent (shift init))
159   (backspace)
160   (return (shift init)))
161
162  (second
163   (consonant)
164   (dependent (shift init))
165   (backspace)
166   (return (shift init))))
167
168 ;; Local Variables:
169 ;; coding: utf-8
170 ;; mode: emacs-lisp
171 ;; End: