Update copyright years.
[m17n/m17n-db.git] / MIM / si-samanala.mim
1 ;; si-samanala.mim -- Sinhala input method for Samanala transliteration scheme
2 ;; Copyright (C) 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., 51 Franklin Street, Fifth Floor,
22 ;; Boston, MA 02110-1301, USA.
23
24 (input-method si samanala)
25
26 (description "Sinhala input method using transliteration.
27 The transleteration system is based on the Samanala version 2
28 developed by Prasad Dharmasena.
29   <http://www.nongnu.org/sinhala/doc/transliteration/sinhala-transliteration_1.html>
30 ")
31
32 (title "සි")
33
34 (map
35  (consonant
36   ("k" "ක්") ("k_" "ක්")
37   ("K" "ඛ්")
38   ("g" "ග්") ("g_" "ග්")
39   ("G" "ඝ්")
40   ("\"NG" "ඞ්")
41   ("\"ng" "ඟ්")
42   ("ch" "ච්")
43   ("CH" "ඡ්")
44   ("j" "ජ්")
45   ("J" "ඣ්")
46   ("kn" "ඤ්")
47   ("gn" "ඥ්")
48   ("t" "ට්") ("t_" "ට්")
49   ("T" "ඨ්") ("T_" "ඨ්")
50   ("d" "ඩ්") ("d_" "ඩ්")
51   ("D" "ඪ්") ("D_" "ඪ්")
52   ("N" "ණ්")
53   ("\"nd" "ඬ්") ("\"nd_" "ඬ්")
54   ("th" "ත්")
55   ("TH" "ථ්")
56   ("dh" "ද්")
57   ("DH" "ධ්")
58   ("n" "න්")
59   ("\"ndh" "ඳ්")
60   ("p" "ප්")
61   ("P" "ඵ්")
62   ("b" "බ්")
63   ("B" "භ්")
64   ("m" "ම්")
65   ("\"mb" "ඹ්")
66   ("y" "ය්")
67   ("r" "ර්")
68   ("l" "ල්")
69   ("v" "ව්")
70   ("w" "ව්")
71   ("sh" "ශ්")
72   ("SH" "ෂ්")
73   ("s" "ස්") ("s_" "ස්")
74   ("h" "හ්")
75   ("L" "ළ්")
76   ("f" "ෆ්")
77
78   ("\"kSH" "ක්‍ෂ්")
79   )
80
81  (independent
82   ("a" "අ")
83   ("a~" "ආ")
84   ("a^" "ඇ")
85   ("a^~" "ඈ")
86   ("i" "ඉ")
87   ("i~" "ඊ")
88   ("u" "උ")
89   ("u~" "ඌ")
90   ("RU" "ඍ")
91   ("RU~" "ඎ")
92   ("e" "එ")
93   ("e~" "ඒ")
94   ("ai" "ඓ")
95   ("o" "ඔ")
96   ("o~" "ඕ")
97   ("au" "ඖ")
98   ("NG" "ං")
99   ("H" "ඃ"))
100
101  (dependent
102   ("a" (delete @-))
103   ("a~" (delete @-) "ා")
104   ("a^" (delete @-) "ැ")
105   ("a^~" (delete @-) "ෑ")
106   ("i" (delete @-) "ි")
107   ("i~" (delete @-) "ී")
108   ("u" (delete @-) "ු")
109   ("u~" (delete @-) "ූ")
110   ("RU" (delete @-) "ෘ")
111   ("e" (delete @-) "ෙ")
112   ("e~" (delete @-) "ේ")
113   ("ai" (delete @-) "ෛ")
114   ("o" (delete @-) "ො")
115   ("o~" (delete @-) "ෝ")
116   ("au" (delete @-) "ෞ")
117   ("RU~" (delete @-) "ෲ")
118   )
119
120  (ry
121   ("r" "‍ර්")
122   ("y" "‍ය්"))
123
124  (underscore
125   ("_"))
126  )
127
128 (state
129  (init
130   (consonant (shift second))
131   (independent))
132
133  (second
134   (underscore (shift init))
135   (dependent (shift init))
136   (ry))
137  )
138
139
140 ;; g_na ග්න
141 ;; "kva ක්‍ව
142 ;; "kSHa        ක්‍ෂ
143 ;; "nDHa        ක්‍ධ
144 ;; "nTHa        න‍ථ
145 ;; "n_dha       න්‍ද
146 ;; "thTHa       ත්‍ථ
147 ;; "rma ර්‍ම
148
149
150 ;; Local Variables:
151 ;; coding: utf-8
152 ;; mode: lisp
153 ;; End: