Classify
Leave feedback
On this page
Sentiment classification for a text.
public ClassificationResponse Classify(string text, int bestClassesCount = 1,
Taxonomy taxonomy = Taxonomy.Sentiment)
| Parameter | Type | Description |
|---|---|---|
| text | String | Raw text to classify. |
| bestClassesCount | Int32 | Count of the best classes to return. |
| taxonomy | Taxonomy | Sentiment taxonomy (Sentiment or Sentiment3). |
ClassificationResponse with classification results.
| exception | condition |
|---|---|
| ApiException | An API exception occurred. |
- class ClassificationResponse
- enum Taxonomy
- class SentimentClassifier
- namespace GroupDocs.Classification
- assembly GroupDocs.Classification
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.