file2py: Convert the characters in an entire files according to a...

Description Usage Arguments Value Examples

Description

Convert the characters in an entire files according to a given dictionary

Usage

1
2
file2py(folder = "py", backup = TRUE, sep = " ", other_replace = NULL, 
    encoding = "UTF-8", dic = NA)

Arguments

folder

character. The folder in which the files are to be converted.

backup

logical. Whether the original files should be saved as backups.

sep

character. Seperation between the converted pinyin.

other_replace

NULL or character. Define how to convert non-Chinese characters in mychar. NULL means 'let it be'.

encoding

character. The encoding of the input files. 'UTF-8' by default.

dic

See help(pinzin).

Value

files converted to Pinyin.

Examples

1
file2py(dic = NA)

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

Related to file2py in pinyin...