rpms/m17n-db/devel hi-typewriter.mim,NONE,1.1
Parag Nemade (pnemade)
fedora-extras-commits at redhat.com
Wed Jul 18 18:26:01 UTC 2007
Author: pnemade
Update of /cvs/pkgs/rpms/m17n-db/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4907
Added Files:
hi-typewriter.mim
Log Message:
Adding hi-typewriter.mim file
--- NEW FILE hi-typewriter.mim ---
;; hi-typewriter.mim -- Devanagari input method with typewriter method
;; Copyright (C) 2005
;; National Institute of Advanced Industrial Science and Technology (AIST)
;; Registration Number H15PRO112
;; This file is part of the m17n contrib; a sub-part of the m17n
;; library.
;; The m17n library is free software; you can redistribute it and/or
;; modify it under the terms of the GNU Lesser General Public License
;; as published by the Free Software Foundation; either version 2.1 of
;; the License, or (at your option) any later version.
;; The m17n library is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
;; Lesser General Public License for more details.
;; You should have received a copy of the GNU Lesser General Public
;; License along with the m17n library; if not, write to the Free
;; Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
;; 02111-1307, USA.
(input-method hi typewriter)
(description "Hindi input method with `typewriter' method.
Still experimental.
")
(title "à¤")
(map
(consonant
((KP_1) "१")
((KP_2) "२")
((KP_3) "३")
((KP_4) "४")
((KP_5) "५")
((KP_6) "६")
((KP_7) "à¥")
((KP_8) "८")
((KP_9) "९")
((KP_0) "०")
((KP_Decimal) ".")
((KP_Divide) "/")
((KP_Multiply) "*")
((KP_Add) "+")
((KP_Subtract) "-")
("!" ?à¤)
("+" ?à¤)
("Q" ?à¤)
("W" ?à¤)
("E" ?à¤)
("R" ?à¤)
("T" ?à¤)
("Y" ?à¤)
("y" ?ब)
("U" ?à¤)
("u" ?ह)
("I" ?à¤)
("i" ?à¤)
("O" ?ध)
("o" ?द)
("P" ?à¤)
("p" ?à¤)
("{" ?ढ)
("[" ?ड)
("}" ?à¤)
("A" ?à¤)
("S" ?à¤)
("D" ?à¤
)
("F" ?à¤)
("G" ?à¤)
("H" ?फ)
("h" ?प)
("J" ?ऱ)
("j" ?र)
("K" ?à¤)
("k" ?à¤)
("L" ?थ)
("l" ?त)
(":" ?à¤)
(";" ?à¤)
("\"" ?ठ)
("'" ?à¤)
("|" ?à¤)
("~" ?à¤)
("Z" ?à¤)
("C" ?ण)
("c" ?म)
("V" ?ऩ)
("v" ?न)
("B" ?ऴ)
("b" ?व)
("N" ?ळ)
("n" ?ल)
("M" ?श)
("m" ?स)
("<" ?ष)
("/" ?य))
(halant
("d" ?à¥))
(vowel-I
("f" ?ि))
(else
("1" ?१)
("@" ?à¥
)
("2" ?२)
("#" ?#)
("3" ?३)
("$" ?$)
("4" ?४)
("5" ?५)
("6" ?६)
("7" ?à¥)
("8" ?८)
("(" ?\()
("9" ?९)
(")" ?\))
("0" ?०)
("_" ?à¤)
("-" ?-)
("=" ?à¥)
("q" ?à¥)
("w" ?à¥)
("e" ?ा)
("r" ?à¥)
("t" ?à¥)
("]" ?़)
("a" ?à¥)
("s" ?à¥)
("g" ?à¥)
("\\" ?à¥)
("`" ?à¥)
("z" ?à¥)
("X" ?à¤)
("x" ?à¤)
("," ?,)
(">" ?।)
("." ?.)
("?" ?à¥)))
(state
(init
(consonant)
(halant)
(else)
(vowel-I (shift after-vowel-I)))
(after-vowel-I
(consonant
;; The current preedit is "IC". Reorder it to "CI".
(move @<) (delete @+) (move @>) (insert "ि")
;; Keep on reading the following [HC]* sequence.
(shift after-consonant))
(vowel-I
;; Delete the lastly inserted I and rehandle it in `init' state.
(delete @-) (pushback 1) (shift init))
(nil (shift init)))
(after-consonant
(halant
;; The current preedit is "C[HC]*IH". Reorder it to "C[HC]*HI".
(move @-) (delete @-) (move @>) (insert "ि")
;; Keep on reading the following C[HC]* sequence.
(shift after-consonant-halant)))
(after-consonant-halant
(consonant
;; The current preedit is "C[HC]*HIC". Reorder it to "C[HC]+I".
(move @-) (delete @-) (move @>) (insert "ि")
;; Keep on reading the following [HC]* sequence.
(shift after-consonant))))
More information about the fedora-extras-commits
mailing list