View Source GoogleApi.Language.V1.Model.ClassificationCategory (google_api_language v0.15.0)

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

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

Functions

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

Unwrap a decoded JSON object into its complex fields.