/kanjirecog

Java library that recognises Japanese kanji drawn by the user

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

leafdigital kanjirecog
----------------------

Copyright 2011 Samuel Marshall

Released under GNU Public License v3 (see LICENSE)


Trying it out
-------------

You can try out this recogniser using the applet here:

http://live.leafdigital.com/kanji/


Using binaries
--------------

If you just want to use this library, grab the binary jar files. 

There are two files: kanjirecog.[version].jar and 
kanjirecog.[version].javadoc.jar.

* You only need the main jar file (add it to your application) to use this
  utility.
  
* The second jar file contains the javadoc documentation. If you add this
  in the 'attached javadoc' field for the library in an IDE such as Eclipse,
  your IDE will be able to automatically show the documentation for this class.

The jar files do not include the example application/applet in
com.leafdigital.kanji.example. Obtain the source files for this directly.


Build instructions
------------------

If you want to build this project, download the source using Git or the
GitHub download option.

Once you have downloaded the source, just change to the directory with this
file in and run 'ant'. The default build.xml file will build the project.

Examine build.xml if you want to change where it puts temporary data or the
resulting output files.


Documentation
-------------

Please look inside the javadoc (or the source package-info.java) to see
how to use this library to recognise characters. You might also want to
look at the source for the example applet, although it's a bit of a mess.


Android version
---------------

An Android app based on this library is included in this repository in
the branch 'android'.


Repository information
----------------------

In case you're not reading it there, the hosting site for this project is:

http://github.com/quen/kanjirecog

There you can do the following:

* Download the full source code (click the Download Source button or use Git).
* Download the latest binary version (click the Downloads tab).
* Report bugs or contribute improvements (click the Issues tab).


Acknowledgements
----------------

Uses database derived from the SVG kanji stroke order images produced by the
KanjiVG project and released under Creative Commons Attribution-Share Alike 3.0
license. The original version of this database from the KanjiVG project is in
the 'data' folder.

As required by this license, the derived database (only) is also available
under the Creative Commons Attribution-Share Alike 3.0 license (in addition
to GPL v3). The derived database can be found in the src/com/leafdigital/kanji
folder, as strokes-<date>.xml.

KanjiVG home page is: http://kanjivg.tagaini.net/