Click or drag to resize

NaturalLanguageClassifierClassifyCollection Method

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.

Namespace:  IBM.Watson.DeveloperCloud.Services.NaturalLanguageClassifier.v1
Assembly:  unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public bool ClassifyCollection(
	NaturalLanguageClassifierSuccessCallback<ClassificationCollection> successCallback,
	NaturalLanguageClassifierFailCallback failCallback,
	string classifierId,
	ClassifyCollectionInput body,
	Dictionary<string, Object> customData = null
)

Parameters

successCallback
Type: IBM.Watson.DeveloperCloud.Services.NaturalLanguageClassifier.v1NaturalLanguageClassifierSuccessCallbackClassificationCollection
The success callback.
failCallback
Type: IBM.Watson.DeveloperCloud.Services.NaturalLanguageClassifier.v1NaturalLanguageClassifierFailCallback
The fail callback.
classifierId
Type: SystemString
The ID of the classifier to use.
body
Type: IBM.Watson.DeveloperCloud.Services.NaturalLanguageClassifier.v1ClassifyCollectionInput
The collection of text to classify.
customData (Optional)
Type: System.Collections.GenericDictionaryString, Object

[Missing <param name="customData"/> documentation for "M:IBM.Watson.DeveloperCloud.Services.NaturalLanguageClassifier.v1.NaturalLanguageClassifier.ClassifyCollection(IBM.Watson.DeveloperCloud.Services.NaturalLanguageClassifier.v1.NaturalLanguageClassifier.SuccessCallback{IBM.Watson.DeveloperCloud.Services.NaturalLanguageClassifier.v1.ClassificationCollection},IBM.Watson.DeveloperCloud.Services.NaturalLanguageClassifier.v1.NaturalLanguageClassifier.FailCallback,System.String,IBM.Watson.DeveloperCloud.Services.NaturalLanguageClassifier.v1.ClassifyCollectionInput,System.Collections.Generic.Dictionary{System.String,System.Object})"]

Return Value

Type: Boolean
Returns false if we failed to submit the request.
See Also