GoogleApi.Jobs.V4.Model.SpellingCorrection (google_api_jobs v0.17.0) View Source

Spell check result.

Attributes

  • corrected (type: boolean(), default: nil) - Indicates if the query was corrected by the spell checker.
  • correctedHtml (type: String.t, default: nil) - Corrected output with html tags to highlight the corrected words. Corrected words are called out with the "..." html tags. For example, the user input query is "software enginear", where the second word, "enginear," is incorrect. It should be "engineer". When spelling correction is enabled, this value is "software engineer".
  • correctedText (type: String.t, default: nil) - Correction output consisting of the corrected keyword string.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Jobs.V4.Model.SpellingCorrection{
  corrected: boolean() | nil,
  correctedHtml: String.t() | nil,
  correctedText: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.