Learn R Programming

tmcn (version 0.2-13)

toTrad: Convert a Chinese text from simplified to traditional characters and vice versa.

Description

Convert a chinese text from simplified to traditional characters and vice versa.

Usage

toTrad(string, rev = FALSE)

Arguments

string

A Chinese string vector.

rev

Reverse. TRUE means traditional to simplified. Default is FALSE.

Value

Converted vectors.

Examples

Run this code
# NOT RUN {
toTrad("hello")
# }

Run the code above in your browser using DataLab