public class NaturalLanguageUnderstanding
extends com.ibm.cloud.sdk.core.service.BaseService
Constructor and Description |
---|
NaturalLanguageUnderstanding(java.lang.String versionDate)
Constructs a new `NaturalLanguageUnderstanding` client.
|
NaturalLanguageUnderstanding(java.lang.String versionDate,
com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs a new `NaturalLanguageUnderstanding` client with the specified Authenticator.
|
Modifier and Type | Method and Description |
---|---|
com.ibm.cloud.sdk.core.http.ServiceCall<AnalysisResults> |
analyze(AnalyzeOptions analyzeOptions)
Analyze text.
|
com.ibm.cloud.sdk.core.http.ServiceCall<DeleteModelResults> |
deleteModel(DeleteModelOptions deleteModelOptions)
Delete model.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ListModelsResults> |
listModels()
List models.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ListModelsResults> |
listModels(ListModelsOptions listModelsOptions)
List models.
|
configureClient, configureHttpClient, configureService, createServiceCall, getAuthenticator, getClient, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, processServiceCall, setAuthentication, setClient, setDefaultHeaders, setDefaultHeaders, setEndPoint, setServiceUrl, toString
public NaturalLanguageUnderstanding(java.lang.String versionDate)
versionDate
- The version date (yyyy-MM-dd) of the REST API to use. Specifying this value will keep your API
calls from failing when the service introduces breaking changes.public NaturalLanguageUnderstanding(java.lang.String versionDate, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
versionDate
- The version date (yyyy-MM-dd) of the REST API to use. Specifying this value will keep your API
calls from failing when the service introduces breaking changes.authenticator
- the Authenticator instance to be configured for this servicepublic com.ibm.cloud.sdk.core.http.ServiceCall<AnalysisResults> analyze(AnalyzeOptions analyzeOptions)
analyzeOptions
- the AnalyzeOptions
containing the options for the callServiceCall
with a response type of AnalysisResults
public com.ibm.cloud.sdk.core.http.ServiceCall<ListModelsResults> listModels(ListModelsOptions listModelsOptions)
listModelsOptions
- the ListModelsOptions
containing the options for the callServiceCall
with a response type of ListModelsResults
public com.ibm.cloud.sdk.core.http.ServiceCall<ListModelsResults> listModels()
ServiceCall
with a response type of ListModelsResults
public com.ibm.cloud.sdk.core.http.ServiceCall<DeleteModelResults> deleteModel(DeleteModelOptions deleteModelOptions)
deleteModelOptions
- the DeleteModelOptions
containing the options for the callServiceCall
with a response type of DeleteModelResults