Watson Developer Cloud Unity SDK  1.0.0
The Unity SDK uses the Watson Developer Cloud services, a collection of REST APIs and SDKs that use cognitive computing to solve complex problems.
IBM.Watson.DeveloperCloud.Services.NaturalLanguageUnderstanding.v1.NaturalLanguageUnderstanding Class Reference
Inheritance diagram for IBM.Watson.DeveloperCloud.Services.NaturalLanguageUnderstanding.v1.NaturalLanguageUnderstanding:
IBM.Watson.DeveloperCloud.Services.IWatsonService

Public Member Functions

 NaturalLanguageUnderstanding (Credentials credentials)
 
delegate void OnAnalyze (AnalysisResults resp, string customData)
 The callback used by Analyze(). More...
 
bool Analyze (OnAnalyze callback, Parameters parameters, string customData=default(string))
 Creates a new environment. You can only create one environment per service instance.An attempt to create another environment will result in an error. The size of the new environment can be controlled by specifying the size parameter. More...
 
delegate void OnGetModels (ListModelsResults resp, string customData)
 The callback used by GetModels(). More...
 
bool GetModels (OnGetModels callback, string customData=default(string))
 Lists available models for Relations and Entities features, including Watson Knowledge Studio custom models that you have created and linked to your Natural Language Understanding service. More...
 
delegate void OnDeleteModel (bool success, string customData)
 The callback used by DeleteModel(). More...
 
bool DeleteModel (OnDeleteModel callback, string modelId, string customData=default(string))
 Deletes the specified model. More...
 
string GetServiceID ()
 <exclude> More...
 

Properties

string Url [get, set]
 Gets and sets the endpoint URL for the service. More...
 
string VersionDate [get, set]
 Gets and sets the versionDate of the service. More...
 
Credentials Credentials [get, set]
 Gets and sets the credentials of the service. Replace the default endpoint if endpoint is defined. More...
 

Constructor & Destructor Documentation

IBM.Watson.DeveloperCloud.Services.NaturalLanguageUnderstanding.v1.NaturalLanguageUnderstanding.NaturalLanguageUnderstanding ( Credentials  credentials)
inline

Member Function Documentation

bool IBM.Watson.DeveloperCloud.Services.NaturalLanguageUnderstanding.v1.NaturalLanguageUnderstanding.Analyze ( OnAnalyze  callback,
Parameters  parameters,
string  customData = default(string) 
)
inline

Creates a new environment. You can only create one environment per service instance.An attempt to create another environment will result in an error. The size of the new environment can be controlled by specifying the size parameter.

Parameters
callbackThe OnAnalyze callback.
parametersThe analyze parameters.
customDataOptional custom data.
Returns
True if the call succeeds, false if the call is unsuccessful.
bool IBM.Watson.DeveloperCloud.Services.NaturalLanguageUnderstanding.v1.NaturalLanguageUnderstanding.DeleteModel ( OnDeleteModel  callback,
string  modelId,
string  customData = default(string) 
)
inline

Deletes the specified model.

Parameters
callbackThe callback.
modelIdThe model identifier.
customDataOptional custom data.
Returns
True if the call succeeds, false if the call is unsuccessful.
bool IBM.Watson.DeveloperCloud.Services.NaturalLanguageUnderstanding.v1.NaturalLanguageUnderstanding.GetModels ( OnGetModels  callback,
string  customData = default(string) 
)
inline

Lists available models for Relations and Entities features, including Watson Knowledge Studio custom models that you have created and linked to your Natural Language Understanding service.

Parameters
callbackThe OnGetModels callback.
customDataOptional custom data.
Returns
True if the call succeeds, false if the call is unsuccessful.
string IBM.Watson.DeveloperCloud.Services.NaturalLanguageUnderstanding.v1.NaturalLanguageUnderstanding.GetServiceID ( )
inline
delegate void IBM.Watson.DeveloperCloud.Services.NaturalLanguageUnderstanding.v1.NaturalLanguageUnderstanding.OnAnalyze ( AnalysisResults  resp,
string  customData 
)

The callback used by Analyze().

Parameters
respThe AnalysisResult response.
customDataOptional custom data.
delegate void IBM.Watson.DeveloperCloud.Services.NaturalLanguageUnderstanding.v1.NaturalLanguageUnderstanding.OnDeleteModel ( bool  success,
string  customData 
)

The callback used by DeleteModel().

Parameters
successThe success of the call.
customDataOptional custom data.
delegate void IBM.Watson.DeveloperCloud.Services.NaturalLanguageUnderstanding.v1.NaturalLanguageUnderstanding.OnGetModels ( ListModelsResults  resp,
string  customData 
)

The callback used by GetModels().

Parameters
respThe GetModels response.
customDataOptional data.

Property Documentation

Credentials IBM.Watson.DeveloperCloud.Services.NaturalLanguageUnderstanding.v1.NaturalLanguageUnderstanding.Credentials
getset

Gets and sets the credentials of the service. Replace the default endpoint if endpoint is defined.

string IBM.Watson.DeveloperCloud.Services.NaturalLanguageUnderstanding.v1.NaturalLanguageUnderstanding.Url
getset

Gets and sets the endpoint URL for the service.

string IBM.Watson.DeveloperCloud.Services.NaturalLanguageUnderstanding.v1.NaturalLanguageUnderstanding.VersionDate
getset

Gets and sets the versionDate of the service.


The documentation for this class was generated from the following file: