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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for Java
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro