public class MachineTranslation extends WatsonService
| Constructor and Description |
|---|
MachineTranslation()
Instantiates a new machine translation.
|
| Modifier and Type | Method and Description |
|---|---|
String |
translate(String text,
Language from,
Language to)
Translate text from one language to another.
|
execute, executeWithoutResponse, getApiKey, getDefaultContentType, getDefaultRequestParams, getEndPoint, getGson, getHttpClient, getThreadSafeClient, setApiKey, setEndPoint, setUsernameAndPassword, toStringCopyright © 2015. All rights reserved.