public static class SpellCheckResponse.Suggestion extends Object
Constructor and Description |
---|
SpellCheckResponse.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() |
List<Integer> |
getSuggestionFrequencies()
Deprecated.
|
List<String> |
getSuggestions()
Deprecated.
|
String |
getToken() |
public String getToken()
public int getNumFound()
public int getStartOffset()
public int getEndOffset()
public int getOriginalFrequency()
public List<Integer> getAlternativeFrequencies()
@Deprecated public List<String> getSuggestions()
@Deprecated public List<Integer> getSuggestionFrequencies()
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.