pinyin: Obtain and label Chinese pinyin

View source: R/pinyin.R

pinyinR Documentation

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)

Arguments

input

A string consisting of Chinese character or sentences.

Value

A string consisting of pinyin and input Chinese character.

Examples

# Example(Not run)
# pinyin("type Chinese character")


ecce documentation built on Oct. 9, 2023, 5:08 p.m.