SpellingFlaggedToken Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. spellcheck. models. SpellingFlaggedToken
- com.
public class SpellingFlaggedToken
The SpellingFlaggedToken model.
Method Summary
Modifier and Type | Method and Description |
---|---|
int |
offset()
Get the offset value. |
String |
pingUrlSuffix()
Get the pingUrlSuffix value. |
List<Spelling |
suggestions()
Get the suggestions value. |
String |
token()
Get the token value. |
Error |
type()
Get the type value. |
Spelling |
withOffset(int offset)
Set the offset value. |
Spelling |
withToken(String token)
Set the token value. |
Spelling |
withType(ErrorType type)
Set the type value. |
Method Details
offset
public int offset()
Get the offset value.
Returns:
pingUrlSuffix
public String pingUrlSuffix()
Get the pingUrlSuffix value.
Returns:
suggestions
public List
Get the suggestions value.
Returns:
token
public String token()
Get the token value.
Returns:
type
public ErrorType type()
Get the type value.
Returns:
withOffset
public SpellingFlaggedToken withOffset(int offset)
Set the offset value.
Parameters:
Returns:
withToken
public SpellingFlaggedToken withToken(String token)
Set the token value.
Parameters:
Returns:
withType
public SpellingFlaggedToken withType(ErrorType type)
Set the type value.
Parameters:
Returns:
Applies to
Azure SDK for Java