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

Measures in the documents. This covers both time expressions as well as physical quantities.

Attributes

  • canonical (type: float(), default: nil) - Canonical value for measurement.
  • granularity (type: float(), default: nil) - Granularity for measurement.
  • info (type: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t, default: nil) - Application-specific information about this measure.
  • phrase (type: GoogleApi.ContentWarehouse.V1.Model.NlpSaftPhrase.t, default: nil) - Phrase containing the measure.
  • type (type: String.t, default: nil) -
  • unit (type: String.t, default: nil) -
  • value (type: String.t, default: nil) - Measurement value and unit.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSaftMeasure{
  canonical: float() | nil,
  granularity: float() | nil,
  info: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil,
  phrase: GoogleApi.ContentWarehouse.V1.Model.NlpSaftPhrase.t() | nil,
  type: String.t() | nil,
  unit: String.t() | nil,
  value: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.