| Package | Description | 
|---|---|
| com.ibm.watson.developer_cloud.language_translation.v2 | Copyright 2015 IBM Corp. | 
| Modifier and Type | Method and Description | 
|---|---|
| TranslationResult | LanguageTranslation. translate(String text,
         String modelId)Translate text using a model. | 
| TranslationResult | LanguageTranslation. translate(String text,
         String source,
         String target)Translate text using source and target languages. Here is an example of how to translate "hello" from English to Spanish: | 
Copyright © 2015–2016. All rights reserved.