Learn R Programming

ecce (version 3.0.3)

pinyin: Obtain and label Chinese pinyin

Description

When you pass in a Chinese character, you can obtain the pinyin of the Chinese character, so that you can more easily understand the pronunciation of the Chinese character.

Usage

pinyin(input)

Value

A string consisting of pinyin and input Chinese character.

Arguments

input

A string consisting of Chinese character or sentences.

Examples

Run this code
if (FALSE) {
  pinyin("type Chinese character")
}

Run the code above in your browser using DataLab