SentimentClassifierClassify Method
Sentiment classification for a text.

Namespace: GroupDocs.Classification
Assembly: GroupDocs.Classification (in GroupDocs.Classification.dll) Version: 20.6.0
Syntax
public ClassificationResponse Classify(
	string text,
	int bestClassesCount = 1
)

Parameters

text
Type: SystemString
Raw text to classify.
bestClassesCount (Optional)
Type: SystemInt32
Count of the best classes to return.

Return Value

Type: ClassificationResponse
ClassificationResponse with classification results.
Exceptions
ExceptionCondition
ApiExceptionAn API exception occurred.
See Also