Construct a NaturalLanguageUnderstandingV1 object.
Name | Type | Attribute | Description |
---|---|---|---|
options |
UserOptions |
Options for the service. |
Release date of the API version you want to use. Specify dates in YYYY-MM-DD format. The current version is
2021-08-01
.
Analyze text.
Analyzes text, HTML, or a public webpage for the following features:
If a language for the input text is not specified with the language
parameter, the service automatically detects
the
language.
Name | Type | Attribute | Description | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
AnalyzeParams |
The parameters to send to the service. Properties
|
Create categories model.
(Beta) Creates a custom categories model by uploading training data and associated metadata. The model begins the
training and deploying process and is ready to use when the status
is available
.
Name | Type | Attribute | Description | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
CreateCategoriesModelParams |
The parameters to send to the service. Properties
|
Create classifications model.
Creates a custom classifications model by uploading training data and associated metadata. The model begins the
training and deploying process and is ready to use when the status
is available
.
Name | Type | Attribute | Description | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
CreateClassificationsModelParams |
The parameters to send to the service. Properties
|
Create sentiment model.
(Beta) Creates a custom sentiment model by uploading training data and associated metadata. The model begins the
training and deploying process and is ready to use when the status
is available
.
Name | Type | Attribute | Description | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
CreateSentimentModelParams |
The parameters to send to the service. Properties
|
Delete categories model.
(Beta) Un-deploys the custom categories model with the given model ID and deletes all associated customer data, including any training data or binary artifacts.
Name | Type | Attribute | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
DeleteCategoriesModelParams |
The parameters to send to the service. Properties
|
Delete classifications model.
Un-deploys the custom classifications model with the given model ID and deletes all associated customer data, including any training data or binary artifacts.
Name | Type | Attribute | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
DeleteClassificationsModelParams |
The parameters to send to the service. Properties
|
Delete model.
Deletes a custom model.
Name | Type | Attribute | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
DeleteModelParams |
The parameters to send to the service. Properties
|
Delete sentiment model.
(Beta) Un-deploys the custom sentiment model with the given model ID and deletes all associated customer data, including any training data or binary artifacts.
Name | Type | Attribute | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
DeleteSentimentModelParams |
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 categories model details.
(Beta) Returns the status of the categories model with the given model ID.
Name | Type | Attribute | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
GetCategoriesModelParams |
The parameters to send to the service. Properties
|
Get classifications model details.
Returns the status of the classifications model with the given model ID.
Name | Type | Attribute | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
GetClassificationsModelParams |
The parameters to send to the service. Properties
|
Get the Axios instance set on the service. All requests will be made using this instance.
Get sentiment model details.
(Beta) Returns the status of the sentiment model with the given model ID.
Name | Type | Attribute | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
GetSentimentModelParams |
The parameters to send to the service. Properties
|
List categories models.
(Beta) Returns all custom categories models associated with this service instance.
Name | Type | Attribute | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
params |
ListCategoriesModelsParams | Optional |
Properties
|
List classifications models.
Returns all custom classifications models associated with this service instance.
Name | Type | Attribute | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
params |
ListClassificationsModelsParams | Optional |
Properties
|
List models.
Lists Watson Knowledge Studio custom entities and relations models that are deployed to your Natural Language Understanding service.
Name | Type | Attribute | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
params |
ListModelsParams | Optional |
Properties
|
List sentiment models.
(Beta) Returns all custom sentiment models associated with this service instance.
Name | Type | Attribute | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
params |
ListSentimentModelsParams | 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. |
Update categories model.
(Beta) Overwrites the training data associated with this custom categories model and retrains the model. The new model replaces the current deployment.
Name | Type | Attribute | Description | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
UpdateCategoriesModelParams |
The parameters to send to the service. Properties
|
Update classifications model.
Overwrites the training data associated with this custom classifications model and retrains the model. The new model replaces the current deployment.
Name | Type | Attribute | Description | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
UpdateClassificationsModelParams |
The parameters to send to the service. Properties
|
Update sentiment model.
(Beta) Overwrites the training data associated with this custom sentiment model and retrains the model. The new model replaces the current deployment.
Name | Type | Attribute | Description | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
UpdateSentimentModelParams |
The parameters to send to the service. Properties
|
Generated using TypeDoc
Analyze various features of text content at scale. Provide text, raw HTML, or a public URL and IBM Watson Natural Language Understanding will give you results for the features you request. The service cleans HTML content before analysis by default, so the results can ignore most advertisements and other unwanted content. interfaces
You can create custom models with Watson Knowledge Studio to detect custom entities and relations in Natural Language Understanding.
API Version: 1.0 See: https://cloud.ibm.com/docs/natural-language-understanding