Description Usage Arguments Value
Convert Chinese strings to pinyin.
1 2 |
method |
Whether the output should be toned or toneless. |
multi |
Whether the output should contain more than one pinyin |
sep |
Character used to seperate different characters |
parallel |
Whether or not use parallel calculation |
Chin.str |
The string need to be converted |
pinyin code of Chin.str
according to the lookup table in https://blog.csdn.net/chndata/article/details/41114771. The code is organized as Consonant + Main vowel + Connection Vowel + Tone. For example, these parts for mian4 is m, an, i, and 4, respectively.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.