translate: R interface to tencent AI text translation

Description Usage Arguments Details Author(s) Examples

View source: R/translate.R

Description

This function can only handle English and Chinese

Usage

1
translate(app_id = app_id, app_key = app_key, keywords)

Arguments

app_id

Your app ID

app_key

Your app key

text

The text is sent to API

Details

translate returns the result of transform

Author(s)

Ao Sun <https://ao-sun.github.io/>

Examples

1
 translate('god', app_id = '1107152791', app_key =  'OpsMj8HXPmbu9SMd')

suntiansheng/tencentAI documentation built on May 17, 2019, 12:52 p.m.