NlpSemanticParsingSaftMentionAnnotation

GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingSaftMentionAnnotation


Table of Contents ▼

Jump to a specific part of the page:

Description

SaftMentionAnnotation(s) are used to identify a sub-span of the input with some semantic relevance, for example PER (Person), LOC (Locations) or measure etc. Each SaftMentionAnnotation will have exactly one non-empty field.

Attributes List

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

View Attributes

Attributes

  1. coreference (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingSaftCoreference, default: nil)
    - Annotations for spans that are resolved coreference mentions.
  2. entity (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingSaftSpan, default: nil)
    - Annotations for spans like "san francisco giants".
  3. measure (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingSaftMeasure, default: nil)
    - Annotations for spans "53 pounds".
  4. title (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingSaftSpan, default: nil)
    - Annotations for spans like "the president of the United States".

Type

Function

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

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