public class InfoAPI
extends java.lang.Object
| Constructor and Description |
|---|
InfoAPI(InfoAPIConfig config) |
| Modifier and Type | Method and Description |
|---|---|
ContextsResponse |
getContexts()
Returns information about available contexts
|
DetectorsResponse |
getDetectors() |
TaxonomiesResponse |
getTaxonomies()
Returns information about available taxonomies
|
TaxonomyResponse |
getTaxonomy(java.lang.String taxonomy,
API.Languages lang)
Returns information about available taxonomy for specific language
|
public InfoAPI(InfoAPIConfig config)
public ContextsResponse getContexts() throws NLApiException
NLApiExceptionpublic DetectorsResponse getDetectors() throws NLApiException
NLApiExceptionpublic TaxonomiesResponse getTaxonomies() throws NLApiException
NLApiExceptionpublic TaxonomyResponse getTaxonomy(java.lang.String taxonomy, API.Languages lang) throws NLApiException
NLApiException