Class ClassificationCategory
- java.lang.Object
-
- com.azure.ai.textanalytics.models.ClassificationCategory
-
public final class ClassificationCategory extends Object
The document classification result which contains the classified category and the confidence score on it.
-
-
Constructor Summary
Constructors Constructor Description ClassificationCategory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
getCategory
public String getCategory()
Gets the classified category of document.- Returns:
- The classified category of document.
-
getConfidenceScore
public double getConfidenceScore()
Gets the score property: Confidence score between 0 and 1 of the classified category.- Returns:
- The
confidenceScore
value.
-
-