toTrad: Convert a Chinese text from simplified to traditional...

Description Usage Arguments Value Author(s) Examples

View source: R/toTrad.R

Description

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

Usage

1
toTrad(string, rev = FALSE)

Arguments

string

A Chinese string vector.

rev

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

Value

Converted vectors.

Author(s)

Jian Li <rweibo@sina.com>

Examples

1
toTrad("hello")

Example output

# tmcn Version: 0.2-12
[1] "hello"

tmcn documentation built on Aug. 4, 2019, 3 p.m.

Related to toTrad in tmcn...