shibing624/pinyin-tokenizer

pinyintokenizer, 拼音分词器,将连续的拼音切分为单字拼音列表。

27
/ 100
Experimental

This tool helps you break down continuous Pinyin sequences into individual Pinyin syllables, which is useful for processing spoken or typed Chinese text. For example, if you input "nihao", it outputs ['ni', 'hao']. This is designed for anyone working with Pinyin, especially those involved in natural language processing (NLP) for Chinese, like transcribers, linguists, or developers building Pinyin-to-Hanzi conversion systems.

No commits in the last 6 months.

Use this if you need to accurately segment a string of Pinyin into its constituent syllables, often as a first step before converting Pinyin to Chinese characters.

Not ideal if your input includes English words, as it is specifically designed for Pinyin and may produce unexpected results.

Chinese language processing Pinyin conversion speech-to-text text normalization linguistics
Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 7 / 25
Maturity 16 / 25
Community 4 / 25

How are scores calculated?

Stars

31

Forks

1

Language

Python

License

Apache-2.0

Last pushed

Feb 05, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/nlp/shibing624/pinyin-tokenizer"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.