Java中文轉拼音庫 pinyin4j

jopen 12年前發布 | 41K 次閱讀 Java 常用工具包

Pinyin4j是一個流行的Java庫,支持中文字符和拼音之間的轉換。拼音輸出格式可以定制。

功能特性:

  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ü)

Java中文轉拼音庫 pinyin4j

項目主頁:http://www.baiduhome.net/lib/view/home/1324995709421

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!