1 ;; ispell.mim -- English input method with spell checker (ISPELL).
2 ;; Copyright (C) 2003, 2004, 2005
3 ;; National Institute of Advanced Industrial Science and Technology (AIST)
4 ;; Registration Number H15PRO112
6 ;; This file is part of the m17n library.
8 ;; The m17n library is free software; you can redistribute it and/or
9 ;; modify it under the terms of the GNU Lesser General Public License
10 ;; as published by the Free Software Foundation; either version 2.1 of
11 ;; the License, or (at your option) any later version.
13 ;; The m17n library is distributed in the hope that it will be useful,
14 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 ;; Lesser General Public License for more details.
18 ;; You should have received a copy of the GNU Lesser General Public
19 ;; License along with the m17n library; if not, write to the Free
20 ;; Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
23 (input-method en ispell)
25 (description "Input method for English using ISPELL as a spell checker.
26 It uses the loadable module libmimx-ispell.so to communicate with
27 ISPELL program. You can check the spelll of typed word by TAB
28 key. Not for an actual use, but for demonstrating what can be
29 done by the m17n input method.
36 ("A" "A") ("B" "B") ("C" "C") ("D" "D") ("E" "E") ("F" "F") ("G" "G")
37 ("H" "H") ("I" "I") ("J" "J") ("K" "K") ("L" "L") ("M" "M") ("N" "N")
38 ("O" "O") ("P" "P") ("Q" "Q") ("R" "R") ("S" "S") ("T" "T") ("U" "U")
39 ("V" "V") ("W" "W") ("X" "X") ("Y" "Y") ("Z" "Z")
40 ("a" "a") ("b" "b") ("c" "c") ("d" "d") ("e" "e") ("f" "f") ("g" "g")
41 ("h" "h") ("i" "i") ("j" "j") ("k" "k") ("l" "l") ("m" "m") ("n" "n")
42 ("o" "o") ("p" "p") ("q" "q") ("r" "r") ("s" "s") ("t" "t") ("u" "u")
43 ("v" "v") ("w" "w") ("x" "x") ("y" "y") ("z" "z"))
45 ((Tab) (call libmimx-ispell ispell_word init select)))
49 ((Right) (select @+))))
52 (libmimx-ispell ispell_word init fini))
56 (alpha (shift alpha)))