Convert strings of Chinese characters into Pinyin.
py(char = "", sep = "_", other_replace = NULL, dic = pydic())
| char | a string vector |
|---|---|
| sep | character. Seperation between the converted pinyin. |
| other_replace | NULL or character. Define how to convert non-Chinese characters in mychar. NULL means 'let it be'. |
| dic | the preloaded pinyin library using the |
pinyin of the given Chinese string.
py(dic = NA)#>#> [[1]] #> NULL #>