powered by
Convert a chinese text to pinyin format.
toPinyin(string, capitalize = FALSE)
A character vector.
Whether to capitalize the first letter of each word.
A character vector in pinyin format.
# NOT RUN { toPinyin("the quick red fox jumps over the lazy brown dog") # }
Run the code above in your browser using DataLab