R/translate.R
translate.Rd
When you pass in an English or Chinese word, this function will calls the Youdao text translation API for R to return the corresponding type of Chinese or English representation.
translate(input, from = "auto", to = "auto")
An English or Chinese word.
The source language, an optional parameter.
The target language, an optional parameter.
A list consisting of Phonetic, explains, etc about target language.
# Example(Not run)
# translate("good")
# translate("quarto", from = "en", to = "zh-CHS")