SpellingTokenSuggestion Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. spellcheck. models. SpellingTokenSuggestion
- com.
public class SpellingTokenSuggestion
The SpellingTokenSuggestion model.
Constructor Summary
Constructor | Description | |
---|---|---|
SpellingTokenSuggestion() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
pingUrlSuffix()
Get the ping |
java.lang.Double |
score()
Get the score value. |
java.lang.String |
suggestion()
Get the suggestion value. |
Spelling |
withSuggestion(String suggestion)
Set the suggestion value. |
Methods inherited from java.lang.Object
java.lang.Object.clone
java.lang.Object.equals
java.lang.Object.finalize
java.lang.Object.getClass
java.lang.Object.hashCode
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.toString
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
Constructor Details
SpellingTokenSuggestion
public SpellingTokenSuggestion()
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