GoogleApi.ContentWarehouse.V1.Model.CopleySubreferenceReference
Table of Contents ▼
Jump to a specific part of the page:
Description
Represents a reference that may be part of a larger compound reference. For example, "my brother's birthday" will have a subreference that may have references for "my brother".
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
personalReferenceTypes
(type:list(String.t)
, default:nil
)
- Type of reference. There may be multiple for a single reference (e.g. relationship and contact). -
referenceScore
(type:number()
, default:nil
)
- Highest reference score for any references merged in this span. -
relationshipLexicalInfo
(type:GoogleApi.ContentWarehouse.V1.Model.CopleyLexicalMetadata
, default:nil
)
- Only set for unresolved relationship references and can be used to get the canonical word for the relationship (e.g. "mother") in TTS.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.CopleySubreferenceReference{
personalReferenceTypes: [String.t()] | nil,
referenceScore: number() | nil,
relationshipLexicalInfo: GoogleApi.ContentWarehouse.V1.Model.CopleyLexicalMetadata.t() | nil
}
personalReferenceTypes: [String.t()] | nil,
referenceScore: number() | nil,
relationshipLexicalInfo: GoogleApi.ContentWarehouse.V1.Model.CopleyLexicalMetadata.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.CopleySubreferenceReference