public sealed class SpellingCorrection : IMessage<SpellingCorrection>, IEquatable<SpellingCorrection>, IDeepCloneable<SpellingCorrection>, IBufferMessage, IMessage
Spell check result.
Implements
IMessage<SpellingCorrection>, IEquatable<SpellingCorrection>, IDeepCloneable<SpellingCorrection>, IBufferMessage, IMessageNamespace
Google.Cloud.Talent.V4Assembly
Google.Cloud.Talent.V4.dll
Constructors
SpellingCorrection()
public SpellingCorrection()
SpellingCorrection(SpellingCorrection)
public SpellingCorrection(SpellingCorrection other)
Parameter | |
---|---|
Name | Description |
other | SpellingCorrection |
Properties
Corrected
public bool Corrected { get; set; }
Indicates if the query was corrected by the spell checker.
Property Value | |
---|---|
Type | Description |
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 |
String |
CorrectedText
public string CorrectedText { get; set; }
Correction output consisting of the corrected keyword string.
Property Value | |
---|---|
Type | Description |
String |