public interface ScoreNormalizer extends Configurable
AcousticScorer,
Token| Modifier and Type | Method and Description |
|---|---|
Scoreable |
normalize(java.util.List<? extends Scoreable> scoreableList,
Scoreable bestToken)
Normalizes the scores of a set of Tokens.
|
newPropertiesScoreable normalize(java.util.List<? extends Scoreable> scoreableList, Scoreable bestToken)
scoreableList - The set of scores to be normalizedbestToken - The best scoring Token of the above mentioned list. Although not strictly necessary it's
included because of convenience reasons and to reduce computational overhead.Tokens have been normalized. In most cases normalization won't
change the order but to keep the API open for any kind of approach it seemed reasonable to include this.