Construct a NaturalLanguageClassifierV1 object.
Name | Type | Attribute | Description |
---|---|---|---|
options |
UserOptions |
Options for the service. |
Classify a phrase.
Returns label information for the input. The status must be Available
before you can use the classifier to
classify text.
Name | Type | Attribute | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
ClassifyParams |
The parameters to send to the service. Properties
|
Classify multiple phrases.
Returns label information for multiple phrases. The status must be Available
before you can use the classifier to
classify text.
Note that classifying Japanese texts is a beta feature.
Name | Type | Attribute | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
ClassifyCollectionParams |
The parameters to send to the service. Properties
|
Create classifier.
Sends data to create and train a classifier and returns information about the new classifier.
Name | Type | Attribute | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
CreateClassifierParams |
The parameters to send to the service. Properties
|
Delete classifier.
Name | Type | Attribute | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
DeleteClassifierParams |
The parameters to send to the service. Properties
|
Disables retries.
Enable retries for unfulfilled requests.
Name | Type | Attribute | Description |
---|---|---|---|
retryOptions |
RetryOptions | Optional |
configuration for retries |
Get the instance of the authenticator set on the service.
Get information about a classifier.
Returns status and other information about a classifier.
Name | Type | Attribute | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
GetClassifierParams |
The parameters to send to the service. Properties
|
Get the Axios instance set on the service. All requests will be made using this instance.
List classifiers.
Returns an empty array if no classifiers are available.
Name | Type | Attribute | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
params |
ListClassifiersParams | Optional |
Properties
|
Turn request body compression on or off.
Name | Type | Attribute | Description |
---|---|---|---|
setting |
boolean |
Will turn it on if 'true', off if 'false'. |
Set the service URL to send requests to.
Name | Type | Attribute | Description |
---|---|---|---|
url |
string |
The base URL for the service. |
Generated using TypeDoc
On 9 August 2021, IBM announced the deprecation of IBM Watson™ Natural Language Classifier. As of 9 September 2021, you cannot create new instances. However, existing instances are supported until 8 August 2022. The service will no longer be available on 8 August 2022.
As an alternative, consider migrating to IBM Watson Natural Language Understanding. For more information, see Migrating to Natural Language Understanding. {: deprecated} interfaces
Natural Language Classifier uses machine learning algorithms to return the top matching predefined classes for short text input. You create and train a classifier to connect predefined classes to example texts so that the service can apply those classes to new inputs.
API Version: 1.0 See: https://cloud.ibm.com/docs/natural-language-classifier