Update copyright year.
[m17n/m17n-db.git] / MIM / ispell.mim
1 ;; ispell.mim -- English input method with spell checker (ISPELL).
2 ;; Copyright (C) 2003, 2004, 2005, 2009
3 ;;   National Institute of Advanced Industrial Science and Technology (AIST)
4 ;;   Registration Number H15PRO112
5
6 ;; This file is part of the m17n library.
7
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.
12
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.
17
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., 51 Franklin Street, Fifth Floor,
21 ;; Boston, MA 02110-1301, USA.
22
23 (input-method en ispell)
24
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.
30 ")
31
32 (title "ISPELL")
33
34 (module
35  (libmimx-ispell ispell_word init fini))
36
37 (map
38  (alpha
39   ("A" "A") ("B" "B") ("C" "C") ("D" "D") ("E" "E") ("F" "F") ("G" "G")
40   ("H" "H") ("I" "I") ("J" "J") ("K" "K") ("L" "L") ("M" "M") ("N" "N")
41   ("O" "O") ("P" "P") ("Q" "Q") ("R" "R") ("S" "S") ("T" "T") ("U" "U")
42   ("V" "V") ("W" "W") ("X" "X") ("Y" "Y") ("Z" "Z")
43   ("a" "a") ("b" "b") ("c" "c") ("d" "d") ("e" "e") ("f" "f") ("g" "g")
44   ("h" "h") ("i" "i") ("j" "j") ("k" "k") ("l" "l") ("m" "m") ("n" "n")
45   ("o" "o") ("p" "p") ("q" "q") ("r" "r") ("s" "s") ("t" "t") ("u" "u")
46   ("v" "v") ("w" "w") ("x" "x") ("y" "y") ("z" "z"))
47  (ispell
48   ((Tab) (call libmimx-ispell ispell_word init select)))
49
50  (change
51   ((Left) (select @-))
52   ((Right) (select @+))))
53
54 (state
55  (init
56   (alpha (shift alpha)))
57
58  (alpha
59   (alpha)
60   (ispell))
61
62  (select
63   (change)))
64
65 ;; Local Variables:
66 ;; mode: lisp
67 ;; End: