GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefRefconMentionSpans
Table of Contents ▼
Jump to a specific part of the page:
- Description
- Attribute List
- Attributes
- Type
- Function
- Related links
- Possibly related Modules
Description
Describes a mention annotated by Webref in the given document.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
segment
(type:list(String.t)
, default:nil
)
- Segment types in which the mention appears. Now deprecated, because we only care about CONTENT segments. -
shortToken
(type:list(integer())
, default:nil
)
- Fingerprinted tokens which form the mention span. We are using 32-bit instead of usual 64bit fingerprints - this greatly reduces the memory footprint while still keeping the chance of collision reasonably low for our specific use case (1 in 4 billion). -
token
(type:list(String.t)
, default:nil
)
- Fingerprinted tokens which form the mention span.
Type
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefRefconMentionSpans