public class LanguageIdentification extends WatsonService
| Constructor and Description |
|---|
LanguageIdentification()
Instantiates a new language identification.
|
| Modifier and Type | Method and Description |
|---|---|
IdentifiedLanguage |
identify(String text)
Identify language in which text is written.
|
String |
toString() |
execute, executeWithoutResponse, getApiKey, getDefaultContentType, getDefaultRequestParams, getEndPoint, getGson, getHttpClient, getThreadSafeClient, setApiKey, setEndPoint, setUsernameAndPasswordpublic LanguageIdentification()
public IdentifiedLanguage identify(String text)
text - the text to identifypublic String toString()
toString in class WatsonServiceCopyright © 2015. All rights reserved.