Class: Google::Cloud::Talent::V4beta1::SpellingCorrection
- Inherits:
-
Object
- Object
- Google::Cloud::Talent::V4beta1::SpellingCorrection
- Defined in:
- lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/common.rb
Overview
Spell check result.
Instance Attribute Summary collapse
-
#corrected ⇒ true, false
Indicates if the query was corrected by the spell checker.
-
#corrected_html ⇒ String
Corrected output with html tags to highlight the corrected words.
-
#corrected_text ⇒ String
Correction output consisting of the corrected keyword string.
Instance Attribute Details
#corrected ⇒ true, false
Returns Indicates if the query was corrected by the spell checker.
267 |
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/common.rb', line 267 class SpellingCorrection; end |
#corrected_html ⇒ String
Returns 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".
267 |
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/common.rb', line 267 class SpellingCorrection; end |
#corrected_text ⇒ String
Returns Correction output consisting of the corrected keyword string.
267 |
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/common.rb', line 267 class SpellingCorrection; end |