SpellingTokenSuggestion Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. spellcheck. models. SpellingTokenSuggestion
- com.
public class SpellingTokenSuggestion
The SpellingTokenSuggestion model.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
pingUrlSuffix()
Get the pingUrlSuffix value. |
Double |
score()
Get the score value. |
String |
suggestion()
Get the suggestion value. |
Spelling |
withSuggestion(String suggestion)
Set the suggestion value. |
Method Details
pingUrlSuffix
public String pingUrlSuffix()
Get the pingUrlSuffix value.
Returns:
the pingUrlSuffix value
score
public Double score()
Get the score value.
Returns:
the score value
suggestion
public String suggestion()
Get the suggestion value.
Returns:
the suggestion value
withSuggestion
public SpellingTokenSuggestion withSuggestion(String suggestion)
Set the suggestion value.
Parameters:
suggestion
- the suggestion value to set
Returns:
the SpellingTokenSuggestion object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java