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 Details

    • ClassificationCategory

      public ClassificationCategory()
  • Method Details

    • 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.