Google Cloud Talent Solution v4beta1 API - Class SpellingCorrection (3.0.0-beta05)

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

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

Spell check result.

Inheritance

object > SpellingCorrection

Namespace

Google.Cloud.Talent.V4Beta1

Assembly

Google.Cloud.Talent.V4Beta1.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
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
Type Description
string

CorrectedText

public string CorrectedText { get; set; }

Correction output consisting of the corrected keyword string.

Property Value
Type Description
string