Reference documentation and code samples for the Google Cloud Talent Solution V4beta1 Client class SpellingCorrection.
Spell check result.
Generated from protobuf message google.cloud.talent.v4beta1.SpellingCorrection
Namespace
Google \ Cloud \ Talent \ V4beta1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ corrected
bool
Indicates if the query was corrected by the spell checker.
↳ corrected_text
string
Correction output consisting of the corrected keyword string.
↳ corrected_html
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 ".
getCorrected
Indicates if the query was corrected by the spell checker.
bool
setCorrected
Indicates if the query was corrected by the spell checker.
var
bool
$this
getCorrectedText
Correction output consisting of the corrected keyword string.
string
setCorrectedText
Correction output consisting of the corrected keyword string.
var
string
$this
getCorrectedHtml
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
setCorrectedHtml
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 ".
var
string
$this

