ClassificationCategory

Represents a category returned from the text classifier.

JSON representation
{
  "name": string,
  "confidence": number,
}
Fields
name

string

The name of the category representing the document, from the predefined taxonomy.

confidence

number

The classifier's confidence of the category. Number represents how certain the classifier is that this category represents the given text.

Send feedback about...

Cloud Natural Language API