GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaQuantification
Table of Contents ▼
Jump to a specific part of the page:
- Description
- Attribute List
- Attributes
- Type
- Function
- Related links
- Possibly related Modules
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):
Attributes
-
lexical
(type:String.t
, default:nil
)
- -
number
(type:integer()
, default:nil
)
- Numerical quantification. E.g., "three speakers".
Type
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaQuantification