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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage details the `SpellingCorrection` class within the `Google.Cloud.Talent.V4` namespace, which is part of the Google Cloud Talent API."],["The `SpellingCorrection` class, which implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, represents the result of a spell check operation."],["The class provides properties like `Corrected`, indicating if a query has been corrected, `CorrectedHtml`, which provides the corrected text with HTML tags for highlighting, and `CorrectedText`, which shows the corrected keyword string."],["The documentation covers versions from 1.0.0 up to the latest 2.7.0, with each version's documentation accessible via a hyperlink."]]],[]]