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

Attributes

  • denominator (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingNumberSimpleNumber.t, default: nil) -
  • numerator (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingNumberSimpleNumber.t, default: nil) - Fields for fraction numbers
  • precision (type: integer(), default: nil) - This field is used to indicate the number of digits after the decimal point in the normalized_value field in number.proto, which contains the floating point representation of the fraction
  • wholeNumber (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingNumberSimpleNumber.t, default: nil) - This field is set only for mixed fraction

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingNumberFractionNumber{
    denominator:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingNumberSimpleNumber.t()
      | nil,
    numerator:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingNumberSimpleNumber.t()
      | nil,
    precision: integer() | nil,
    wholeNumber:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingNumberSimpleNumber.t()
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.