SpellingFlaggedToken Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. spellcheck. models. SpellingFlaggedToken
- com.
public class SpellingFlaggedToken
The SpellingFlaggedToken model.
Constructor Summary
Constructor | Description | |
---|---|---|
SpellingFlaggedToken() |
Method Summary
Modifier and Type | Method and Description |
---|---|
int |
offset()
Get the offset value. |
java.lang.String |
pingUrlSuffix()
Get the ping |
java.util.List<Spelling |
suggestions()
Get the suggestions value. |
java.lang.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. |
Methods inherited from java.lang.Object
Constructor Details
SpellingFlaggedToken
public SpellingFlaggedToken()
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