*** empty log message ***
[m17n/m17n-contrib.git] / im / oj-phonetic.mim
1 ;; oj-phonetic.mim -- Phonetic input method for Ojibwe syllabics
2 ;; Copyright (C) 2010
3 ;;   Goren (goren -at- riseup.net)
4 ;; This input method table is licensed under the WTFPL. 
5 ;; See http://sam.zoy.org/wtfpl/ for the full text of license and 
6 ;; conditions that apply.
7
8 ;; This file is made for the m17n contrib; a sub-part of the m17n
9 ;; library.
10
11 ;; The m17n library is free software; you can redistribute it and/or
12 ;; modify it under the terms of the GNU Lesser General Public License
13 ;; as published by the Free Software Foundation; either version 2.1 of
14 ;; the License, or (at your option) any later version.
15
16 ;; The m17n library is distributed in the hope that it will be useful,
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19 ;; Lesser General Public License for more details.
20
21 ;; You should have received a copy of the GNU Lesser General Public
22 ;; License along with the m17n library; if not, write to the Free
23 ;; Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
24 ;; 02111-1307, USA.
25
26 ;;; Input method for Ojibwe languages
27 ;;;
28
29 (input-method oj phonetic)
30
31 (description
32  "Phonetic input method for Ojibwe dialects. This input method can be used to input canadian syllabics for following languages:
33
34     * (Anicinâbemowin) Algonquin [alq]
35     * ᐊᓂᔑᓂᓂᒧᐏᐣ (Anishininiimowin) Severn Ojibwa [ojs]
36     * Eastern Ojibwa [ojg]
37     * Central Ojibwa [ojc]
38     * Northwestern Ojibwa [ojb]
39     * Western Ojibwa [ojw]
40     * Chippewa [ciw]
41     * Ottawa [otw]
42 ")
43
44 (title "oj")
45
46 ;; The Ojibwe i-style finals are not yet in official Unicode standard
47 ;; and are not supported by most common fonts.  Here the capital
48 ;; consonants will input the Unicode characters that represent them in
49 ;; unofficial fonts and are most likely to represent them in future
50 ;; standards.
51 (variable
52  (i-style-p "unofficial" 0xA9EE)
53  (i-style-t "unofficial" 0xA9EF)
54  (i-style-k "unofficial" 0xA9F0)
55  (i-style-c "unofficial" 0xA9F1)
56  (i-style-m "unofficial" 0xA9F2)
57  (i-style-n "unofficial" 0xA9F3)
58  (i-style-s "unofficial" 0xA9F4)
59  (i-style-sh "unofficial" 0xA9F5))
60
61 (map
62  (map
63   ("-" "") ;; adding dead dash to break symbols input when needed.
64   ("e" "ᐁ")
65   ("i" "ᐃ")
66   ("ii" "ᐄ")
67   ("o" "ᐅ")
68   ("oo" "ᐆ")
69   ("a" "ᐊ")
70   ("aa" "ᐋ")
71
72   ("pe" "ᐯ")
73   ("pi" "ᐱ")
74   ("pii" "ᐲ")
75   ("po" "ᐳ")
76   ("poo" "ᐴ")
77   ("pa" "ᐸ")
78   ("paa" "ᐹ")
79   ("p" "ᑉ") 
80   ("P" (insert i-style-p))
81
82   ("te" "ᑌ")
83   ("ti" "ᑎ")
84   ("tii" "ᑏ")
85   ("to" "ᑐ")
86   ("too" "ᑑ")
87   ("ta" "ᑕ")
88   ("taa" "ᑖ")
89   ("t" "ᑦ") 
90   ("T" (insert i-style-t))
91
92   ("ke" "ᑫ")
93   ("ki" "ᑭ")
94   ("kii" "ᑮ")
95   ("ko" "ᑯ")
96   ("koo" "ᑰ")
97   ("ka" "ᑲ")
98   ("kaa" "ᑳ")
99   ("k" "ᒃ")
100   ("K" (insert i-style-k))
101
102   ("ce" "ᒉ")
103   ("ci" "ᒋ")
104   ("cii" "ᒌ")
105   ("co" "ᒍ")
106   ("coo" "ᒎ")
107   ("ca" "ᒐ")
108   ("caa" "ᒑ")
109   ("c" "ᒡ") 
110   ("C" (insert i-style-c))
111
112   ("me" "ᒣ")
113   ("mi" "ᒥ")
114   ("mii" "ᒦ")
115   ("mo" "ᒧ")
116   ("moo" "ᒨ")
117   ("ma" "ᒪ")
118   ("maa" "ᒫ")
119   ("m" "ᒻ") 
120   ("M" (insert i-style-m))
121
122   ("ne" "ᓀ")
123   ("ni" "ᓂ")
124   ("nii" "ᓃ")
125   ("no" "ᓄ")
126   ("noo" "ᓅ")
127   ("na" "ᓇ")
128   ("naa" "ᓈ")
129   ("n" "ᓐ") 
130   ("N" (insert i-style-n))
131
132   ("se" "ᓭ")
133   ("si" "ᓯ")
134   ("sii" "ᓰ")
135   ("so" "ᓱ")
136   ("soo" "ᓲ")
137   ("sa" "ᓴ")
138   ("saa" "ᓵ")
139   ("s" "ᔅ") 
140   ("S" (insert i-style-s))
141
142   ("she" "ᔐ")
143   ("shi" "ᔑ")
144   ("shii" 0x1512)
145   ("sho" "ᔓ")
146   ("shoo" 0x1514)
147   ("sha" "ᔕ")
148   ("shaa" 0x1516)
149   ("sh" "ᔥ") 
150   ("Sh" (insert i-style-sh))
151   ("SH" (insert i-style-sh))
152
153   ("ye" "ᔦ")
154   ("yi" "ᔨ")
155   ("yii" "ᔩ")
156   ("yo" "ᔪ")
157   ("yoo" "ᔫ")
158   ("ya" "ᔭ")
159   ("yaa" "ᔮ")
160   ("y" "ᔾ") 
161   ("Y" "ᐞ")
162
163 ;; There's only one middle form for /r/ and one for /l/ sound. Most often, the n-series is used to represent them in native words.
164   ("r" "ᕒ") 
165   ("l" "ᓬ")
166
167
168 ;; Syllables with w
169
170   ("we" "ᐌ")
171   ("wi" "ᐎ")
172   ("wii" "ᐐ")
173   ("wo" "ᐒ")
174   ("woo" "ᐔ")
175   ("wa" "ᐗ")
176   ("waa" "ᐙ")
177   ("w" "ᐤ")
178
179   ("pwe" 0x143a)
180   ("pwi" 0x143c)
181   ("pwii" 0x143e)
182   ("pwo" 0x1440)
183   ("pwoo" 0x1442)
184   ("pwa" 0x1444)
185   ("pwaa" 0x1446)
186
187   ("twe" 0x1457)
188   ("twi" 0x1459)
189   ("twii" 0x145b)
190   ("two" 0x145d)
191   ("twoo" 0x145f)
192   ("twa" 0x1461)
193   ("twaa" 0x1463)
194
195   ("kwe" 0x1474)
196   ("kwi" 0x1476)
197   ("kwii" 0x1478)
198   ("kwo" 0x147a)
199   ("kwoo" 0x147c)
200   ("kwa" 0x147e)
201   ("kwaa" 0x1480)
202   ("kw" "ᒄ")
203
204   ("cwe" 0x1492)
205   ("cwi" 0x1494)
206   ("cwii" 0x1496)
207   ("cwo" 0x1498)
208   ("cwoo" 0x149a)
209   ("cwa" 0x149c)
210   ("cwaa" 0x149e)
211
212   ("mwe" 0x14ac)
213   ("mwi" 0x14ae)
214   ("mwii" 0x14b0)
215   ("mwo" 0x14b2)
216   ("mwoo" 0x14b4)
217   ("mwa" 0x14b6)
218   ("mwaa" 0x14b8)
219   ("mw" "ᒽ")
220
221   ("nwe" 0x14c9)
222   ("nwa" 0x14cb)
223   ("nwaa" 0x14cd)
224
225   ("lwe" 0x14dc)
226   ("lwi" 0x14de)
227   ("lwii" 0x14e0)
228   ("lwo" 0x14e2)
229   ("lwoo" 0x14e4)
230   ("lwa" 0x14e6)
231   ("lwaa" 0x14e8)
232
233   ("rwaa" 0x154e)
234
235   ("swe" 0x14f6)
236   ("swi" 0x14f8)
237   ("swii" 0x14fa)
238   ("swo" 0x14fc)
239   ("swoo" 0x14fe)
240   ("swa" 0x1500)
241   ("swaa" 0x1502)
242
243   ("shwe" 0x1517)
244   ("shwi" 0x1519)
245   ("shwii" 0x151b)
246   ("shwo" 0x151d)
247   ("shwoo" 0x151f)
248   ("shwa" 0x1521)
249   ("shwaa" 0x1523)
250
251   ("ywe" 0x152f)
252   ("ywi" 0x1531)
253   ("ywii" 0x1533)
254   ("ywo" 0x1535)
255   ("ywoo" 0x1537)
256   ("ywa" 0x1539)
257   ("ywaa" 0x153b)
258
259   ("h" "ᐦ")
260
261 ;; Special punctuation symbols for Ojibwe.
262   ("." "᙮")
263
264 ))
265
266 (state
267  (init
268   (map)))
269
270 ;; Local Variables:
271 ;; coding: utf-8
272 ;; mode: lisp
273 ;; End: