# Cloud Talent Solution V4beta1 API - Class Google::Cloud::Talent::V4beta1::SpellingCorrection (v0.19.0)

0.19.0 (latest) 0.18.1 0.17.1 0.16.0 0.15.0 0.14.1 0.13.0 0.12.0 0.11.1 0.10.2 0.9.0 0.8.1 0.7.0 0.6.1 0.5.0 0.4.6 Reference documentation and code samples for the Cloud Talent Solution V4beta1 API class Google::Cloud::Talent::V4beta1::SpellingCorrection.

Spell check result.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #corrected

    def corrected() -> ::Boolean

**Returns**

- (::Boolean) --- Indicates if the query was corrected by the spell checker.

### #corrected=

    def corrected=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Indicates if the query was corrected by the spell checker.
**Returns**

- (::Boolean) --- Indicates if the query was corrected by the spell checker.

### #corrected_html

    def corrected_html() -> ::String

**Returns**

- (::String) --- Corrected output with html tags to highlight the corrected words. Corrected words are called out with the "***...*** " 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 ***engineer***".

### #corrected_html=

    def corrected_html=(value) -> ::String

**Parameter**

- **value** (::String) --- Corrected output with html tags to highlight the corrected words. Corrected words are called out with the "***...*** " 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 ***engineer***".
**Returns**

- (::String) --- Corrected output with html tags to highlight the corrected words. Corrected words are called out with the "***...*** " 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 ***engineer***".

### #corrected_text

    def corrected_text() -> ::String

**Returns**

- (::String) --- Correction output consisting of the corrected keyword string.

### #corrected_text=

    def corrected_text=(value) -> ::String

**Parameter**

- **value** (::String) --- Correction output consisting of the corrected keyword string.
**Returns**

- (::String) --- Correction output consisting of the corrected keyword string.