class Google::Apis::JobsV4::SpellingCorrection
Spell check result.
Attributes
Indicates if the query was corrected by the spell checker. Corresponds to the JSON property `corrected` @return [Boolean]
Indicates if the query was corrected by the spell checker. Corresponds to the JSON property `corrected` @return [Boolean]
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]
Correction output consisting of the corrected keyword string. Corresponds to the JSON property `correctedText` @return [String]
Public Class Methods
# File lib/google/apis/jobs_v4/classes.rb, line 2576 def initialize(**args) update!(**args) end
Public Instance Methods
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