public class ScoredConfusionSet extends Object
Constructor and Description |
---|
ScoredConfusionSet(float score,
List<ConfusionString> words) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<String> |
getConfusionTokens() |
float |
getScore() |
List<Optional<String>> |
getTokenDescriptions() |
int |
hashCode() |
String |
toString() |
public ScoredConfusionSet(float score, List<ConfusionString> words)
score
- the score that a string must get at least to be considered a correction, must be > 0