GoogleApi.ContentWarehouse.V1.Model.NlpSaftMeasure
Table of Contents ▼
Jump to a specific part of the page:
Description
Measures in the documents. This covers both time expressions as well as physical quantities.
Attributes List
This module has the following attributes (case-insensitive ascending order):
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
, default:nil
)
- Application-specific information about this measure. -
phrase
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSaftPhrase
, 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.
Type
@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
}
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
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlpSaftMeasure