houbb/pinyin
The high performance pinyin tool for java.(java 高性能中文转拼音工具。支持同音字。)
This tool helps Java developers convert Chinese characters into pinyin, including support for complex cases like multiple pronunciations (polyphones) and custom dictionaries. You input Chinese text, and it outputs the corresponding pinyin, which can be formatted in various styles (e.g., with tone marks, without tones, or as first letters). Developers building applications that handle Chinese text for searching, sorting, or indexing would find this useful.
297 stars. No commits in the last 6 months.
Use this if you are a Java developer who needs to accurately convert Chinese text to pinyin for features like search, user input validation, or phonetic indexing, especially when dealing with polyphonic characters or long texts.
Not ideal if you are looking for a non-Java solution or need to convert pinyin back into Chinese characters, as this tool focuses solely on Chinese-to-pinyin conversion.
Stars
297
Forks
40
Language
Java
License
Apache-2.0
Category
Last pushed
Mar 27, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/nlp/houbb/pinyin"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
PyThaiNLP/pythainlp
Thai natural language processing in Python
hankcs/HanLP
Natural Language Processing for the next decade. Tokenization, Part-of-Speech Tagging, Named...
jacksonllee/pycantonese
Cantonese Linguistics and NLP
dongrixinyu/JioNLP
中文 NLP 预处理、解析工具包,准确、高效、易用 A Chinese NLP Preprocessing & Parsing Package www.jionlp.com
hankcs/pyhanlp
中文分词