public class NaturalLanguageClassifier
extends com.ibm.cloud.sdk.core.service.BaseService
| Constructor and Description |
|---|
NaturalLanguageClassifier()
Constructs a new `NaturalLanguageClassifier` client.
|
NaturalLanguageClassifier(com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs a new `NaturalLanguageClassifier` client with the specified Authenticator.
|
| Modifier and Type | Method and Description |
|---|---|
com.ibm.cloud.sdk.core.http.ServiceCall<Classification> |
classify(ClassifyOptions classifyOptions)
Classify a phrase.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ClassificationCollection> |
classifyCollection(ClassifyCollectionOptions classifyCollectionOptions)
Classify multiple phrases.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Classifier> |
createClassifier(CreateClassifierOptions createClassifierOptions)
Create classifier.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
deleteClassifier(DeleteClassifierOptions deleteClassifierOptions)
Delete classifier.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Classifier> |
getClassifier(GetClassifierOptions getClassifierOptions)
Get information about a classifier.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ClassifierList> |
listClassifiers()
List classifiers.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ClassifierList> |
listClassifiers(ListClassifiersOptions listClassifiersOptions)
List classifiers.
|
configureClient, configureHttpClient, createServiceCall, getAuthenticator, getClient, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, processServiceCall, setAuthentication, setClient, setDefaultHeaders, setDefaultHeaders, setEndPoint, setServiceUrl, toStringpublic NaturalLanguageClassifier()
public NaturalLanguageClassifier(com.ibm.cloud.sdk.core.security.Authenticator authenticator)
authenticator - the Authenticator instance to be configured for this servicepublic com.ibm.cloud.sdk.core.http.ServiceCall<Classification> classify(ClassifyOptions classifyOptions)
classifyOptions - the ClassifyOptions containing the options for the callServiceCall with a response type of Classificationpublic com.ibm.cloud.sdk.core.http.ServiceCall<ClassificationCollection> classifyCollection(ClassifyCollectionOptions classifyCollectionOptions)
classifyCollectionOptions - the ClassifyCollectionOptions containing the options for the callServiceCall with a response type of ClassificationCollectionpublic com.ibm.cloud.sdk.core.http.ServiceCall<Classifier> createClassifier(CreateClassifierOptions createClassifierOptions)
createClassifierOptions - the CreateClassifierOptions containing the options for the callServiceCall with a response type of Classifierpublic com.ibm.cloud.sdk.core.http.ServiceCall<ClassifierList> listClassifiers(ListClassifiersOptions listClassifiersOptions)
listClassifiersOptions - the ListClassifiersOptions containing the options for the callServiceCall with a response type of ClassifierListpublic com.ibm.cloud.sdk.core.http.ServiceCall<ClassifierList> listClassifiers()
ServiceCall with a response type of ClassifierListpublic com.ibm.cloud.sdk.core.http.ServiceCall<Classifier> getClassifier(GetClassifierOptions getClassifierOptions)
getClassifierOptions - the GetClassifierOptions containing the options for the callServiceCall with a response type of Classifierpublic com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteClassifier(DeleteClassifierOptions deleteClassifierOptions)
deleteClassifierOptions - the DeleteClassifierOptions containing the options for the callServiceCall with a response type of Void