pydic {pinyin}R Documentation

Load a Pinyin library

Description

Load a Pinyin library

Usage

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

pydic()

[Package pinyin version 1.1.6 Index]