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

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

## End(Not run)


ecce documentation built on April 12, 2025, 1:09 a.m.