View Source GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingSaftMeasure (google_api_content_warehouse v0.3.0)

Identifies a measure, like '53 pounds' in a query.

Attributes

  • category (type: String.t, default: nil) - Defines the category of measure, like $Mass.
  • rawText (type: String.t, default: nil) - The substring of the raw query spanned by this annotation.
  • value (type: float(), default: nil) - The numerical value of the measure.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingSaftMeasure{
  category: String.t() | nil,
  rawText: String.t() | nil,
  value: float() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.