RepositoryWebrefRefconMentionSpans

GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefRefconMentionSpans


Table of Contents ▼

Jump to a specific part of the page:

Description

Describes a mention annotated by Webref in the given document.

Attributes List

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

View Attributes

Attributes

  1. segment (type: list(String.t), default: nil)
    - Segment types in which the mention appears. Now deprecated, because we only care about CONTENT segments.
  2. 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).
  3. token (type: list(String.t), default: nil)
    - Fingerprinted tokens which form the mention span.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefRefconMentionSpans{
segment: [String.t()] | nil,
shortToken: [integer()] | nil,
token: [String.t()] | nil
}

Function

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

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