Classify
SentimentClassifier.Classify method
Classification des sentiments pour un texte.
public ClassificationResponse Classify(string text, int bestClassesCount = 1,
Taxonomy taxonomy = Taxonomy.Sentiment)
| Paramètre | Taper | La description |
|---|---|---|
| text | String | Texte brut à classer. |
| bestClassesCount | Int32 | Décompte des meilleures classes à rentrer. |
| taxonomy | Taxonomy | Taxonomie des sentiments (Sentiment ou Sentiment3). |
Return_Value
ClassificationResponse avec les résultats du classement.
Exceptions
| exception | condition |
|---|---|
| ApiException | Une exception d’API s’est produite. |
Voir également
- class ClassificationResponse
- enum Taxonomy
- class SentimentClassifier
- espace de noms GroupDocs.Classification
- Assemblée GroupDocs.Classification