/*

Copyright (c) 2006 Kenji ABE <abek@terre-sys.com>

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions: The above copyright notice and this
permission notice shall be included in all copies or substantial
portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE EVEN IF
ADVISED IN ADVANCE OF THE POSSIBILITY OF SUCH DAMAGES.

*/


What's this?
------------

anthyLE is a IIIM Language Engine using Anthy.

Anthy is a library for Japanese text input.
See next URL about Anthy.

	- http://anthy.sourceforge.jp/


Requirements
------------

* Anthy-7100b or later.

Please install 'anthy'(to use anthyLE) and 'anthy-devel'(to build anthyLE) packages.


Build & Install
---------------

To build, do as im-sdk's way.
Do "make build" at im-sdk top directory.

If you update your working copy rather than check out newly,
you may have to do "make bootstrap" before 'make build'.


As default, anthyLE does not be installed by 'make install'.

To install, you have to modify leif/anthyLE/Makefile.am.
Enable last line like this.

	#include $(top_srcdir)/install-leif.mak

		|
		v

	include $(top_srcdir)/install-leif.mak

then do

	make build
	sudo make install

at top directory.


If there is le.xml.conf file in your system(ex. /etc/iiim/le.xml.conf, ~/.iiim/le.xml.conf),
you have to add element for anthyLE to le.xml.conf like this.

	<LanguageEngine lang="ja">
		<module path="/usr/lib/iiim/le/CannaLE/CannaLE.so"/>
		<module path="/usr/lib/iiim/le/anthyLE/anthyLE.so"/> <!-- add this element -->
	</LanguageEngine>


Usage
-----

Run iiimd as per-user server.

	$ iiimd -d -user&

Select anthyLE.

You can see anthyLE key bindings in KEYBINDINGS file.


CAUTION
-------

Currently, I have implemented only for per-user server mode.
That means, this LE does not work properly on multi-user mode.

I am planning further enhancement of this. Any suggetstions?
