QualityActionsNewsProviderAnnotationDataProvider

GoogleApi.ContentWarehouse.V1.Model.QualityActionsNewsProviderAnnotationDataProvider


Table of Contents ▼

Jump to a specific part of the page:

Description

NextId: 6

Attributes List

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

View Attributes

Attributes

  1. locales (type: list(String.t), default: nil)
    - List of supported locales for this provider. Must follow the format from go/iii, e.g.: 'en', 'en-US', 'en-GB', etc. Short forms without regions codes, such as, 'en' match all possible regions: en-US, en-GB, en-IN, etc.
  2. officialName (type: String.t, default: nil)
    - The official name of the provider. Used in TTS and should be localized.
  3. officialNamePronunciation (type: String.t, default: nil)
    - TTS hint for the pronunciation of the name. Should be left blank unless TTS performs poorly on official_name. Example: Without hinting, TTS mispronounces "The Daily 202" as "the daily two hundred and two". Feeding tts the string "the daily two oh two" produces correct TTS.
  4. providerId (type: integer(), default: nil)
    - The provider id used for news source URL lookup in Kansas. See b/27250779 for details.
  5. score (type: float(), default: nil)
    - A score of how confident the annotated span is a news provider. For example, a high score is assigned for span "bbc news", but a low score for span "bbc", which only triggers narrative news aqua parse for a query with explicit news intent, e.g [play news from bbc].

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.QualityActionsNewsProviderAnnotationDataProvider{
locales: [String.t()] | nil,
officialName: String.t() | nil,
officialNamePronunciation: String.t() | nil,
providerId: integer() | nil,
score: float() | nil
}

Function

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

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