CINXE.COM
pinyin4j, a Java library converting Chinese to pinyin
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- InstanceBegin template="/Templates/pinyin4j-template.dwt" codeOutsideHTMLIsLocked="false" --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- InstanceBeginEditable name="doctitle" --> <title>pinyin4j, a Java library converting Chinese to pinyin</title> <!-- InstanceEndEditable --><!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable --> <link href="/assets/css/index.css" rel="stylesheet" type="text/css" media="screen" /> </head> <body> <div align="center"> <!-- #BeginLibraryItem "/Library/banner.lbi" --> <img src="/assets/pic/banner/pinyin4j.gif" alt="pinyin4j banner" longdesc="pinyin4j: help you convert 中文 to zhōng wén" /> <!-- #EndLibraryItem --> </div> <table align="center" border="0" cellpadding="5" width="800"> <tbody> <tr> <td valign="top" width="100"> <p> <a href="/" title="pinyin4j website">Home</a> <br /> <a href="http://sourceforge.net/projects/pinyin4j/" title="pinyin4j project page" target="_blank">Project page</a> <br /> <a href="/html/installation.html" title="Installation of pinyin4j library">Installation</a><br /> <a href="http://sourceforge.net/forum/forum.php?forum_id=554159" title="Open forum for pinyin4j, any suggestion or new feature request please visit here." target="_blank">Forum</a><br /> <a href="/html/links.html" title="links of pinyin4j">Links</a> <br /> </p> <!-- #BeginLibraryItem "/Library/SF logo.lbi" --><a href="http://sourceforge.net/projects/pinyin4j/" title="Pinyin4j Project Download Page"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=163377&type=1" alt="SourceForge.net Logo" border="0" height="31" width="88" /></a><!-- #EndLibraryItem --><br /> <br /> <!-- #BeginLibraryItem "/Library/Validate XHTML.lbi" --><a href="http://validator.w3.org/check?uri=referer" target="_blank" title="new window being opened"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" style="border: 0pt none ;" /></a><!-- #EndLibraryItem --><br /> <br /> <!-- #BeginLibraryItem "/Library/Validate CSS.lbi" --><a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank" title="Valid pinyin4j project pages with CSS standard"><img src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!" style="border: 0pt none ;" /></a><!-- #EndLibraryItem --><br /> <br /> </td> <td valign="top"><!-- InstanceBeginEditable name="Title" --> <h1>Overview of pinyin4j</h1> <!-- InstanceEndEditable --> <!-- InstanceBeginEditable name="Content" --> <p>Pinyin4j is a popular Java library supporting convertion between Chinese characters and most popular Pinyin systems. The output format of pinyin could be customized.</p> <!-- #BeginLibraryItem "/Library/Vistor Facts.lbi" --> <p>Since the software, pinyin4j published till today, it has been downloaded by <small><small><strong style="border: 0px none ; margin: 0px; padding: 2px 0px 0px; font-size: 1.4em ! important; vertical-align: baseline; background-color: rgb(255, 255, 255); font-weight: bold; color: rgb(85, 85, 85); font-family: sans-serif; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 18px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">55,000 times and still couting 200+ every week! </strong> </small></small> </p> <!-- #EndLibraryItem --> <hr /> <h1>Features coming on the way (v 3.0)</h1> <ul> <li>Pinyin output for a Chinese phrase, wihch involoves natural language segmentation. Hopefully ETA is within one and half months. ARE YOU SURE (:</li> <li>IOC re-design to decouple database / algorithm dependencies.</li> </ul> <h1>Features</h1> <ol> <li>Convert <a href="http://en.wikipedia.org/wiki/Chinese_language" target="_blank" rel="tag friend">Chinese</a> (both Simplified and Tranditional) to most popular <a href="http://en.wikipedia.org/wiki/Pinyin" target="_blank" rel="me tag">pinyin</a> systems. Supporting pinyin system are listed below. <br /> <ul type="disc"> <li><a href="http://en.wikipedia.org/wiki/Hanyu_Pinyin" title="Hanyu Pinyin" target="_blank">Hanyu Pinyin</a></li> <li><a href="http://en.wikipedia.org/wiki/Tongyong_Pinyin" title="Tongyong Pinyin" target="_blank">Tongyong Pinyin</a></li> <li><a href="http://en.wikipedia.org/wiki/Wade-Giles" title="Wade-Giles" target="_blank">Wade-Giles</a></li> <li><a href="http://en.wikipedia.org/wiki/MPS2" title="MPS2, Mandarin Phonetic Symbols II" target="_blank">MPS2 (Mandarin Phonetic Symbols II)</a></li> <li><a href="http://en.wikipedia.org/wiki/Yale_Romanization" title="Yale Romanization" target="_blank">Yale Romanization</a></li> <li><a href="http://en.wikipedia.org/wiki/Gwoyeu_Romatzyh" title="Gwoyeu Romatzyh" target="_blank">Gwoyeu Romatzyh</a><br /> </li> </ul> </li> <li>Support multiple pronounciations of a single Chinese character. For example, taking the Chinese character <code>'和'</code> as input, you will get eight Hanyu Pinyin results (<code>hé hè huó huò huo hāi he hú</code>), depeding on different contexts.</li> <li> <a href="/html/combination.html" target="_blank" rel="me">Multiple options for output format (details can be found here)</a><br /> <ul type="disc"> <li>All uppercase or lowercase</li> <li> Can output Unicode ü or v or u: </li> <li>With tone numbers (lü3) or tone marks (lǚ) or without tone (lü)</li> </ul> </li> </ol> <!-- InstanceEndEditable --> </td> <td valign="top" width="121"> <h2> Latest Release</h2> <p><strong> pinyin4j 2.5.0 </strong></p> <p><a href="http://sourceforge.net/project/showfiles.php?group_id=163377" title="pinyin4j download" target="_blank">Download <br /> </a> <a href="/pinyin4j-doc/">JavaDoc</a> <br /> <a href="/html/demo.html" title="Interactive demostration of pinyin4j (Java applet must be enable)">Demostration</a> <br /> <a href="/html/screenshot.html" title="Screen shots of pinyin4j application">Screen Shots</a> <a href="/html/whatsnew.html" title="what's new in lastest release">What's new</a> <br /> <a href="/html/changes.html" title="Change history of pinyin4j development">Changes</a> </p> <p><!-- #BeginLibraryItem "/Library/SF donate.lbi" --><a href="http://sourceforge.net/donate/index.php?group_id=163377"><img style="width: 88px; height: 32px;" src="http://sourceforge.net/images/project-support.jpg" alt="Support This Project" border="0" height="32" width="88" /></a><!-- #EndLibraryItem --></p> </td> </tr> <tr> <td colspan="3" align="center" valign="top"> <hr /> Copyleft under <a href="http://www.gnu.org/licenses/gpl.html" title="GNU General Public License (GPL)" target="_blank">GNU General Public License (GPL)</a> | <a href="/html/geo-distribution.html" title="Vistor statistics of pinyin4j website" target="_self">Website visit stats</a> | Maintained by <a href="http://www.eng.nus.edu.sg/LCEL/people/limin/" title="Li Min, the author of pinyin4j" target="_blank">Li Min</a></td> </tr> </tbody> </table> <!-- #BeginLibraryItem "/Library/Site Tracker.lbi" --> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-249246-2"; urchinTracker(); </script> <!-- #EndLibraryItem --> <!-- InstanceEnd --> </body> </html>