From: handa Date: Tue, 7 Dec 2004 08:22:29 +0000 (+0000) Subject: New file. X-Git-Tag: REL-1-2-0~26 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=61093885ac05463b027e68e77bcabaebedb127e4;p=m17n%2Fm17n-db.git New file. --- diff --git a/zh-pinyin.mim b/zh-pinyin.mim new file mode 100644 index 0000000..3a9cb11 --- /dev/null +++ b/zh-pinyin.mim @@ -0,0 +1,80 @@ +;; zh-pinyin.mim -- Input method for Chinese Pinyin characters +;; Copyright (C) 2004 +;; National Institute of Advanced Industrial Science and Technology (AIST) +;; Registration Number H15PRO112 + +;; This file is part of the m17n database; 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. + +;;;
  • zh-pinyin.mim +;;; +;;; Input method for Chinese Pinyin characters. Note that it's not +;;; for inputting Han characters. + +(title "PinYin") + +(map + (vowel + ("a" (("a" "ā" "á" "ǎ" "à" ))) + ("ai" (("ai" "āi" "ái" "ǎi" "ài" ))) + ("an" (("an" "ān" "án" "ǎn" "àn" ))) + ("ang" (("ang" "āng" "áng" "ǎng" "àng" ))) + ("ao" (("ao" "āo" "áo" "ǎo" "ào" ))) + ("e" (("e" "ē" "é" "ě" "è" ))) + ("ei" (("ei" "ēi" "éi" "ěi" "èi" ))) + ("en" (("en" "ēn" "én" "ěn" "èn" ))) + ("eng" (("eng" "ēng" "éng" "ěng" "èng" ))) + ("er" (("er" "ēr" "ér" "ěr" "èr" ))) + ("i" (("i" "Ä«" "í" "ǐ" "ì" ))) + ("ia" (("ia" "iā" "iá" "iǎ" "ià" ))) + ("ian" (("ian" "iān" "ián" "iǎn" "iàn" ))) + ("iang" (("iang" "iāng" "iáng" "iǎng" "iàng"))) + ("iao" (("iao" "iāo" "iáo" "iǎo" "iào" ))) + ("ie" (("ie" "iē" "ié" "iě" "iè" ))) + ("in" (("in" "Ä«n" "ín" "ǐn" "ìn" ))) + ("ing" (("ing" "Ä«ng" "íng" "ǐng" "ìng" ))) + ("iong" (("iong" "iōng" "ióng" "iǒng" "iòng"))) + ("iu" (("iu" "iÅ«" "iú" "iǔ" "iù" ))) + ("o" (("o" "ō" "ó" "ǒ" "ò" ))) + ("ong" (("ong" "ōng" "óng" "ǒng" "òng" ))) + ("ou" (("ou" "ōu" "óu" "ǒu" "òu" ))) + ("u" (("u" "Å«" "ú" "ǔ" "ù" ))) + ("u:" (("ü" "ǖ" "ǘ" "ǚ" "ǜ" ))) + ("v" (("ü" "ǖ" "ǘ" "ǚ" "ǜ" ))) + ("ua" (("ua" "uā" "uá" "uǎ" "uà" ))) + ("uai" (("uai" "uāi" "uái" "uǎi" "uài" ))) + ("uan" (("uan" "uān" "uán" "uǎn" "uàn" ))) + ("uang" (("uang" "uāng" "uáng" "uǎng" "uàng"))) + ("ue" (("ue" "uē" "ué" "uě" "uè" ))) + ("u:e" (("üe" "üē" "üé" "üě" "üè" ))) + ("ve" (("üe" "üē" "üé" "üě" "üè" ))) + ("ui" (("ui" "uÄ«" "uí" "uǐ" "uì" ))) + ("un" (("un" "Å«n" "ún" "ǔn" "ùn" ))) + ("uo" (("uo" "uō" "uó" "uǒ" "uò" )))) + + (tone + ("1" (select 1)) + ("2" (select 2)) + ("3" (select 3)) + ("4" (select 4)))) + +(state + (init + (vowel (shift select))) + (select + (tone (shift init))))