translator: Translator

translatorR Documentation

Translator

Description

language: en, zh, jp, fra, th..., see https://www.cnblogs.com/pieguan/p/10338255.html

Usage

translator(words, from = "en", to = "zh", split = TRUE, verbose = TRUE)

Arguments

words

words

from

source language, default "en"

to

target language, default "zh"

split

split to blocks when your words are too much

verbose

verbose

Value

vector

Examples

## Not run: 
translator(c("love", "if"), from = "en", to = "zh")

## End(Not run)

pcutils documentation built on June 26, 2024, 1:06 a.m.