public interface SuggestionsRanker extends SuggestionsOrderer
Modifier and Type | Method and Description |
---|---|
boolean |
shouldAutoCorrect(List<SuggestedReplacement> rankedSuggestions)
Model output should have been calibrated using a precision-recall curve evaluation, so that
a threshold for confidence values with sufficiently high precision for auto correction is known
|
isMlAvailable, orderSuggestions, orderSuggestionsUsingModel
boolean shouldAutoCorrect(List<SuggestedReplacement> rankedSuggestions)
rankedSuggestions
- suggestions returned by orderSuggestions