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:
score
public Double score()
Get the score value.
Returns:
suggestion
public String suggestion()
Get the suggestion value.
Returns:
withSuggestion
public SpellingTokenSuggestion withSuggestion(String suggestion)
Set the suggestion value.
Parameters:
Returns: