Pinyin4j

| |
[不指定 2008/12/11 16:22 | by ipaddr ]


Source: http://pinyin4j.sourceforge.net/

Pinyin4j is a Java library supporting convertion between Chinese characters and most popular Pinyin systems. Moreover, the output format of pinyin could be customized.


Features

  1. Convert Chinese (both Simplified and Tranditional) to most popular pinyin systems. Supporting pinyin system are listed below.
  2. Support multiple pronounciations of a single Chinese character. For example, taking the Chinese character '和' as input, you will get eight Hanyu Pinyin results (hé hè huó huò huo hāi he hú), depeding on different contexts.
  3. Multiple options for output format (details can be found here)
    • All uppercase or lowercase
    • Can output Unicode ü or v or u:
    • With tone numbers (lü3) or tone marks (lǚ) or without tone (lü)
Program | 评论(0) | 引用(0) | 阅读(7599)