Class: Google::Cloud::Talent::V4::SpellingCorrection
- Inherits:
-
Object
- Object
- Google::Cloud::Talent::V4::SpellingCorrection
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/talent/v4/common.rb
Overview
Spell check result.
Instance Attribute Summary collapse
-
#corrected ⇒ ::Boolean
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 ⇒ ::Boolean
Returns Indicates if the query was corrected by the spell checker.
297 298 299 300 |
# File 'proto_docs/google/cloud/talent/v4/common.rb', line 297 class SpellingCorrection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods 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".
297 298 299 300 |
# File 'proto_docs/google/cloud/talent/v4/common.rb', line 297 class SpellingCorrection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#corrected_text ⇒ ::String
Returns Correction output consisting of the corrected keyword string.
297 298 299 300 |
# File 'proto_docs/google/cloud/talent/v4/common.rb', line 297 class SpellingCorrection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |