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

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [3.0.0-beta07 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SpellingCorrection)
- [3.0.0-beta06](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/3.0.0-beta06/Google.Cloud.Talent.V4Beta1.SpellingCorrection)
- [2.0.0-beta07](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/2.0.0-beta07/Google.Cloud.Talent.V4Beta1.SpellingCorrection)

    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](https://learn.microsoft.com/dotnet/api/system.object) \> SpellingCorrection

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SpellingCorrection](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SpellingCorrection), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SpellingCorrection](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SpellingCorrection), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SpellingCorrection](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SpellingCorrection), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Talent.V4Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1)

## Assembly

Google.Cloud.Talent.V4Beta1.dll

## Constructors

### SpellingCorrection()

    public SpellingCorrection()

### SpellingCorrection(SpellingCorrection)

    public SpellingCorrection(SpellingCorrection other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.SpellingCorrection` |

## Properties

### Corrected

    public bool Corrected { get; set; }

Indicates if the query was corrected by the spell checker.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/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** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### CorrectedText

    public string CorrectedText { get; set; }

Correction output consisting of the corrected keyword string.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |