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

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.