ClassificationCategory Class
- java.
lang. Object - com.
azure. ai. textanalytics. models. ClassificationCategory
- com.
public final class ClassificationCategory
The document classification result which contains the classified category and the confidence score on it.
Constructor Summary
| Constructor | Description |
|---|---|
| ClassificationCategory() |
Constructs a |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
getCategory()
Gets the classified category of document. |
| double |
getConfidenceScore()
Gets the score property: Confidence score between 0 and 1 of the classified category. |
Methods inherited from java.lang.Object
Constructor Details
ClassificationCategory
public ClassificationCategory()
Constructs a ClassificationCategory model.
Method Details
getCategory
public String getCategory()
Gets the classified category of document.
Returns:
getConfidenceScore
public double getConfidenceScore()
Gets the score property: Confidence score between 0 and 1 of the classified category.
Returns:
confidenceScore value.