public static class SpellCheckResponse.Suggestion extends Object
| 构造器和说明 |
|---|
Suggestion(String token,
NamedList<Object> suggestion) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 © 2006–2022 The Apache Software Foundation. All rights reserved.