public interface GoogleAutoMLTranslationAPI
| Modifier and Type | Method and Description |
|---|---|
String |
predict(String sourceText,
String modelResourceName,
GoogleOAuth2Service service)
Performs a prediction using the model with the given resource name and returns the translated text.
|
String predict(String sourceText, String modelResourceName, GoogleOAuth2Service service) throws IOException, org.json.simple.parser.ParseException
IOExceptionorg.json.simple.parser.ParseExceptionCopyright © 2019. All rights reserved.