ChStr2py: Convert Chinese strings to pinyin.

Description Usage Arguments Value

View source: R/convert_pinyin.R

Description

Convert Chinese strings to pinyin.

Usage

1
ChStr2py(Chin.strs, tones = TRUE, multi = TRUE, sep = "_", ...)

Arguments

Chin.strs

The string need to be converted. Note, it should have a declared encoding, preferably UTF-8

tones

Whether the output should be toned (T) or toneless.

multi

Whether the output should list multiple pinyins for characters with multiple pronunciations

sep

Character used to seperate different characters. Must be ” or '_' for proper operation

...

Unused

Value

pinyin of Chin.str.


OPTI-SURVEIL/chinsimi documentation built on Oct. 27, 2019, 7:05 p.m.