SpellingTokenSuggestion Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.language.spellcheck.models.SpellingTokenSuggestion

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.

SpellingTokenSuggestion 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