NlpSemanticParsingNumberNumber

GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingNumberNumber


Table of Contents ▼

Jump to a specific part of the page:

Description

Next ID: 9

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. evalData (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData, default: nil)
    - Span info of the annotation - mostly used for evaluation purpose. Note: this data must never be used outside Aqua because it relies on the internal tokenization used in Aqua that could change over time.
  2. fractionNumber (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingNumberFractionNumber, default: nil)
    -
  3. isSpelledOut (type: boolean(), default: nil)
    - An optional field that holds whether the number_type number is a normalized spelled-out number or not. This field will not be set in cases when this information is not available.
  4. modifier (type: String.t, default: nil)
    - NumberModifier is used to capture when the expression is not an absolute number, but a number expression to represent an increase/decrease/comparison. E.g. [10 more percent], [5 less].
  5. normalizedValue (type: String.t, default: nil)
    - Contains a normalized string representation of the numeric value that has: No digit grouping delimiter (e.g. "," in english). Decimal mark (if present) as "." (dot). For fraction_number, this contains the floating point representation of the fraction. The number of digits after the decimal point is defined in the precision field of fraction_number.proto.
  6. rawText (type: String.t, default: nil)
    - The raw text of the annotation.
  7. simpleNumber (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingNumberSimpleNumber, default: nil)
    -
  8. spelledOutType (type: String.t, default: nil)
    - We expect this field to be set only when is_spelled_out is true.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingNumberNumber{
evalData: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t() | nil,
fractionNumber: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingNumberFractionNumber.t() | nil,
isSpelledOut: boolean() | nil,
modifier: String.t() | nil,
normalizedValue: String.t() | nil,
rawText: String.t() | nil,
simpleNumber: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingNumberSimpleNumber.t() | nil,
spelledOutType: String.t() | nil
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingNumberNumber