Java中文转拼音库 pinyin4j
jopen
13年前
<p>Pinyin4j是一个流行的Java库,支持中文字符和拼音之间的转换。拼音输出格式可以定制。</p> <h3>功能特性:</h3> <ol> <li>Convert <a href="/misc/goto?guid=4959499967209751000" rel="tag friend" target="_blank">Chinese</a> (both Simplified and Tranditional) to most popular <a href="/misc/goto?guid=4959499967402207873" rel="me tag" target="_blank">pinyin</a> systems. Supporting pinyin system are listed below. <br /> <ul type="disc"> <li><a title="Hanyu Pinyin" href="/misc/goto?guid=4959499967486668001" target="_blank">Hanyu Pinyin</a></li> <li><a title="Tongyong Pinyin" href="/misc/goto?guid=4959499967573127328" target="_blank">Tongyong Pinyin</a></li> <li><a title="Wade-Giles" href="/misc/goto?guid=4959499967651615661" target="_blank">Wade-Giles</a></li> <li><a title="MPS2, Mandarin Phonetic Symbols II" href="/misc/goto?guid=4959499967730986162" target="_blank">MPS2 (Mandarin Phonetic Symbols II)</a></li> <li><a title="Yale Romanization" href="/misc/goto?guid=4959499967811487090" target="_blank">Yale Romanization</a></li> <li><a title="Gwoyeu Romatzyh" href="/misc/goto?guid=4959499967891028562" 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="/misc/goto?guid=4959499967966503264" rel="me" target="_blank">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> <p><img alt="Java中文转拼音库 pinyin4j" src="https://simg.open-open.com/show/84fe641df3b0919bc8d32cb20cc4e48e.jpg" width="600" height="480" /><br /> </p> <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1324995709421" target="_blank">http://www.open-open.com/lib/view/home/1324995709421</a></p>