class Google::Apis::JobsV4::SpellingCorrection

Spell check result.

Attributes

corrected[RW]

Indicates if the query was corrected by the spell checker. Corresponds to the JSON property `corrected` @return [Boolean]

corrected?[RW]

Indicates if the query was corrected by the spell checker. Corresponds to the JSON property `corrected` @return [Boolean]

corrected_html[RW]

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”. Corresponds to the JSON property `correctedHtml` @return [String]

corrected_text[RW]

Correction output consisting of the corrected keyword string. Corresponds to the JSON property `correctedText` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/jobs_v4/classes.rb, line 2576
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/jobs_v4/classes.rb, line 2581
def update!(**args)
  @corrected = args[:corrected] if args.key?(:corrected)
  @corrected_html = args[:corrected_html] if args.key?(:corrected_html)
  @corrected_text = args[:corrected_text] if args.key?(:corrected_text)
end