NlpSemanticParsingModelsMediaQuantification

GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaQuantification


Table of Contents ▼

Jump to a specific part of the page:

Description

The quantification of device(s) in the query. For example, "three speakers", "all TVs", etc. Usually, we should have either lexical field or number field. However, there are some special words which we will set both fields. For example, "all 3" will have the semantic: {lexical=ALL, number=3}. Note that "both" is simply modeled as {lexical=ALL}.

Attributes List

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

View Attributes

Attributes

  1. lexical (type: String.t, default: nil)
    -
  2. number (type: integer(), default: nil)
    - Numerical quantification. E.g., "three speakers".

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaQuantification{
lexical: String.t() | nil,
number: integer() | nil
}

Function

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

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