google_api_language v0.1.1 GoogleApi.Language.V1.Model.ClassificationCategory View Source

Represents a category returned from the text classifier.

Attributes

  • confidence (float()): The classifier's confidence of the category. Number represents how certain the classifier is that this category represents the given text. Defaults to: null.
  • name (String.t): The name of the category representing the document, from the predefined taxonomy. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Language.V1.Model.ClassificationCategory{
  confidence: any(),
  name: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.