GoogleApi.Language.V1.Model.ClassificationCategory (google_api_language v0.16.3)

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Language.V1.Model.ClassificationCategory{
  confidence: number() | nil,
  name: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.