SpellingTokenSuggestion Class

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

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 pingUrlSuffix value.

java.lang.Double score()

Get the score value.

java.lang.String suggestion()

Get the suggestion value.

SpellingTokenSuggestion 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