Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 1.2 KB

README.md

File metadata and controls

35 lines (29 loc) · 1.2 KB

UniLookup

Unicode lookup table library for Java

Dependencies

Build

First of all you have to generate database.

Generating database

From project root directory run

java -jar DBGenerator.jar unihan|nounihan|all [d] [save to]
(see DBGenerator -h for more information)

This will download ucd.%choice%.flat.zip and generate DB from xml file inside zip. Depending on your choice, this can be slow operation, so go take a break for a tea or coffee 🍵.

For more information see ucdxml.readme.txt and Unihan Database

Build library

Run

mvn package

and use the library generated inside target directory.

Generate JavaDoc

Run

mvn javadoc:javadoc

Android

Xerial's sqlite-jdbc driver does not work on Android so you have to use different driver, for exaple SQLDroid. Just add it to your project and use UniLookup jar without dependencies.