Home
Project page
Installation
Forum
Links
|
Installation of pinyin4j
Here is the installation guide of pinyin4j compressed package. If you have any problems, please go to support forum of pinyin4j.
- Extract download compressed package
pinyin4j-x.y.z.zip to a directory you like, for example PINYIN4J_INSTALL_DIR (x, y, z are version numbers may be variable).
- Add
PINYIN4J_INSTALL_DIR/lib/pinyin4j-x.y.z.jar to your classpath.
- Import necessary class files in your Java source code (see below).
// pinyin4j entry point
import net.sourceforge.pinyin4j.PinyinHelper;
// only when you need formating the output
import net.sourceforge.pinyin4j.format.*;
import net.sourceforge.pinyin4j.format.exception.*;
|
Latest Release
pinyin4j 2.5.0
Download
JavaDoc
Demostration
Screen Shots What's new
Changes
|