public sealed class SpellingCorrection : IMessage<SpellingCorrection>, IEquatable<SpellingCorrection>, IDeepCloneable<SpellingCorrection>, IBufferMessage, IMessage
Indicates if the query was corrected by the spell checker.
Property Value
Type
Description
System.Boolean
CorrectedHtml
public string CorrectedHtml { get; set; }
Corrected output with html tags to highlight the corrected words.
Corrected words are called out with the "<b><i>...</i></b>" 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 <b><i>engineer</i></b>".
Property Value
Type
Description
System.String
CorrectedText
public string CorrectedText { get; set; }
Correction output consisting of the corrected keyword string.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eSpellingCorrection\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Talent.V4\u003c/code\u003e namespace, which is part of the Google Cloud Talent API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSpellingCorrection\u003c/code\u003e class, which implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, represents the result of a spell check operation.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides properties like \u003ccode\u003eCorrected\u003c/code\u003e, indicating if a query has been corrected, \u003ccode\u003eCorrectedHtml\u003c/code\u003e, which provides the corrected text with HTML tags for highlighting, and \u003ccode\u003eCorrectedText\u003c/code\u003e, which shows the corrected keyword string.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers versions from 1.0.0 up to the latest 2.7.0, with each version's documentation accessible via a hyperlink.\u003c/p\u003e\n"]]],[],null,[]]