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
|
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
|
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
IBM Watson™ 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. interfaces
API Version: 1.0 See: https://cloud.ibm.com/docs/natural-language-classifier