Reference documentation and code samples for the Cloud Talent Solution V4 API class Google::Cloud::Talent::V4::SpellingCorrection.
Spell check result.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#corrected
def corrected() -> ::Boolean
- (::Boolean) — Indicates if the query was corrected by the spell checker.
#corrected=
def corrected=(value) -> ::Boolean
- value (::Boolean) — Indicates if the query was corrected by the spell checker.
- (::Boolean) — Indicates if the query was corrected by the spell checker.
#corrected_html
def corrected_html() -> ::String
-
(::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
-
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".
-
(::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
- (::String) — Correction output consisting of the corrected keyword string.
#corrected_text=
def corrected_text=(value) -> ::String
- value (::String) — Correction output consisting of the corrected keyword string.
- (::String) — Correction output consisting of the corrected keyword string.