View Source GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoPronunciation (google_api_content_warehouse v0.4.0)

Stores the pronunciation as phoneme for the given word/text. Next ID: 8

Attributes

  • learningSessionId (type: String.t, default: nil) - All pronunciations with the same learning_session_id were learnt in the same learning flow, e.g. multiple name segments learnt simultaneously from a recording in the Your People UI.
  • learningSource (type: String.t, default: nil) -
  • locale (type: String.t, default: nil) - The locale used when learning the pronunciation. BCP-47 language code, e.g. "en-US".
  • phonemes (type: String.t, default: nil) - Phoneme sequence representing how the user pronounces |token|. Format is specified by the phonology_type type field, e.g. go/psampa is the preferred phonology type used by the TTS team.
  • phonologyType (type: String.t, default: nil) -
  • spellingHint (type: String.t, default: nil) - An optional user-specified spelling of this token, to improve pronunciation learning success rate. E.g. the token may be "Jana" and the spelling hint "jah-nah".
  • token (type: String.t, default: nil) - Corresponds to a word segment of the contact name. E.g. for a contact with given name "John Doe", last name "Smith" and nickname "Best Dad", |token| can be any of {John, Doe, Smith, Best, Dad}.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoPronunciation{
  learningSessionId: String.t() | nil,
  learningSource: String.t() | nil,
  locale: String.t() | nil,
  phonemes: String.t() | nil,
  phonologyType: String.t() | nil,
  spellingHint: String.t() | nil,
  token: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.