### YamlMime:JavaType
uid: "com.azure.ai.textanalytics.models.ClassificationCategory"
fullName: "com.azure.ai.textanalytics.models.ClassificationCategory"
name: "ClassificationCategory"
nameWithType: "ClassificationCategory"
summary: "The document classification result which contains the classified category and the confidence score on it."
inheritances:
- ""
inheritedClassMethods:
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "toString"
- "wait"
- "wait"
- "wait"
syntax: "public final class **ClassificationCategory**"
constructors:
- uid: "com.azure.ai.textanalytics.models.ClassificationCategory.ClassificationCategory()"
fullName: "com.azure.ai.textanalytics.models.ClassificationCategory.ClassificationCategory()"
name: "ClassificationCategory()"
nameWithType: "ClassificationCategory.ClassificationCategory()"
summary: "Constructs a `ClassificationCategory` model."
syntax: "public ClassificationCategory()"
desc: "Constructs a `ClassificationCategory` model."
methods:
- uid: "com.azure.ai.textanalytics.models.ClassificationCategory.getCategory()"
fullName: "com.azure.ai.textanalytics.models.ClassificationCategory.getCategory()"
name: "getCategory()"
nameWithType: "ClassificationCategory.getCategory()"
summary: "Gets the classified category of document."
syntax: "public String getCategory()"
desc: "Gets the classified category of document."
returns:
description: "The classified category of document."
type: "String"
- uid: "com.azure.ai.textanalytics.models.ClassificationCategory.getConfidenceScore()"
fullName: "com.azure.ai.textanalytics.models.ClassificationCategory.getConfidenceScore()"
name: "getConfidenceScore()"
nameWithType: "ClassificationCategory.getConfidenceScore()"
summary: "Gets the score property: Confidence score between 0 and 1 of the classified category."
syntax: "public double getConfidenceScore()"
desc: "Gets the score property: Confidence score between 0 and 1 of the classified category."
returns:
description: "The confidenceScore
value."
type: ""
type: "class"
desc: "The document classification result which contains the classified category and the confidence score on it."
metadata: {}
package: "com.azure.ai.textanalytics.models"
artifact: com.azure:azure-ai-textanalytics:5.5.1