Package ai.expert.nlapi.v2.cloud
Class InfoAPI
- java.lang.Object
-
- ai.expert.nlapi.v2.cloud.InfoAPI
-
public class InfoAPI extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description InfoAPI(InfoAPIConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContextsResponsegetContexts()Returns information about available contextsDetectorsResponsegetDetectors()TaxonomiesResponsegetTaxonomies()Returns information about available taxonomiesTaxonomyResponsegetTaxonomy(java.lang.String taxonomy, API.Languages lang)Returns information about available taxonomy for specific language
-
-
-
Constructor Detail
-
InfoAPI
public InfoAPI(InfoAPIConfig config)
-
-
Method Detail
-
getContexts
public ContextsResponse getContexts() throws NLApiException
Returns information about available contexts- Returns:
- Contexts
- Throws:
NLApiException
-
getDetectors
public DetectorsResponse getDetectors() throws NLApiException
- Throws:
NLApiException
-
getTaxonomies
public TaxonomiesResponse getTaxonomies() throws NLApiException
Returns information about available taxonomies- Returns:
- Taxonomies
- Throws:
NLApiException
-
getTaxonomy
public TaxonomyResponse getTaxonomy(java.lang.String taxonomy, API.Languages lang) throws NLApiException
Returns information about available taxonomy for specific language- Returns:
- Taxonomy
- Throws:
NLApiException
-
-