pydic: Load a Pinyin library

Description Usage Arguments Value Examples

Description

Load a Pinyin library

Usage

1
2
pydic(method = c("quanpin", "tone", "toneless"), multi = FALSE, 
    only_first_letter = FALSE, dic = c("pinyin", "pinyin2"))

Arguments

method

character. The value can be:

  • 'quanpin', for the standard form of pinyin (tones above letters),

  • 'tone', for tones expressed with numbers,

  • 'toneless', without tones

multi

logical. Whether display multiple pronounciations of a Chinese character or only the first pronounciation.

only_first_letter

logical. Wheter only the first letter in pinyin.

dic

character. Choose the dictionary.

Value

character. a Pinyin library.

Examples

1

pinyin documentation built on May 6, 2019, 1:08 a.m.

Related to pydic in pinyin...