file2py {pinyin} | R Documentation |
Convert the characters in an entire files according to a given dictionary
Description
Convert the characters in an entire files according to a given dictionary
Usage
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 |
Value
files converted to Pinyin.
Examples
file2py(dic = NA)
[Package pinyin version 1.1.6 Index]