Google Cloud Talent Solution v4 API - Class SpellingCorrection (2.4.0)

public sealed class SpellingCorrection : IMessage<SpellingCorrection>, IEquatable<SpellingCorrection>, IDeepCloneable<SpellingCorrection>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Talent Solution v4 API class SpellingCorrection.

Spell check result.

Inheritance

object > SpellingCorrection

Namespace

Google.Cloud.Talent.V4

Assembly

Google.Cloud.Talent.V4.dll

Constructors

SpellingCorrection()

public SpellingCorrection()

SpellingCorrection(SpellingCorrection)

public SpellingCorrection(SpellingCorrection other)
Parameter
NameDescription
otherSpellingCorrection

Properties

Corrected

public bool Corrected { get; set; }

Indicates if the query was corrected by the spell checker.

Property Value
TypeDescription
bool

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
TypeDescription
string

CorrectedText

public string CorrectedText { get; set; }

Correction output consisting of the corrected keyword string.

Property Value
TypeDescription
string