Load a Pinyin library
pydic(method = c("quanpin", "tone", "toneless"), multi = FALSE, only_first_letter = FALSE, dic = c("pinyin", "pinyin2"))
method | character. The value can be:
|
---|---|
multi | logical. Whether display multiple pronounciations of a Chinese character or only the first pronounciation. |
only_first_letter | logical. Wheter only the first letter in pinyin. |
dic | character. Choose the dictionary. |
character. a Pinyin library.
pydic()#> <environment: 0x0000000020dd5f08>