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

Represents a category returned from the text classifier.

Attributes

  • confidence (type: number(), default: nil) - The classifier's confidence of the category. Number represents how certain the classifier is that this category represents the given text.
  • name (type: String.t, default: nil) - The name of the category representing the document, from the predefined taxonomy.

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: number(),
  name: String.t()
}

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.