GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefNgramContext
Table of Contents ▼
Jump to a specific part of the page:
Description
An N-gram context encountered on the document.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
mention
(type:list(GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefNgramMention)
, default:nil
)
- The entities that were annotated on the context -
text
(type:String.t
, default:nil
)
- The context (original) text. -
weight
(type:number()
, default:nil
)
- The weight of the context on the document; depends on how many times we saw the string in the document.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefNgramContext{
mention: [GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefNgramMention.t()] | nil,
text: String.t() | nil,
weight: number() | nil
}
mention: [GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefNgramMention.t()] | nil,
text: String.t() | nil,
weight: number() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefNgramContext