public static class SpellCheckResponse.Suggestion extends Object
Constructor and Description |
---|
Suggestion(String token,
NamedList<Object> suggestion) |
Modifier and Type | Method and Description |
---|---|
List<Integer> |
getAlternativeFrequencies()
The frequencies of the alternatives in the corpus, or null if this information was not returned
|
List<String> |
getAlternatives()
The list of alternatives
|
int |
getEndOffset() |
int |
getNumFound() |
int |
getOriginalFrequency() |
int |
getStartOffset() |
String |
getToken() |
public String getToken()
public int getNumFound()
public int getStartOffset()
public int getEndOffset()
public int getOriginalFrequency()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.