edu.cmu.sphinx.decoder.scorer
Interface ScoreNormalizer
- All Superinterfaces:
- Configurable
- All Known Implementing Classes:
- BackgroundModelNormalizer, MaxScoreNormalizer
public interface ScoreNormalizer
- extends Configurable
Describes all API-elements that are necessary to normalize token-scores after these have been computed by an
AcousticScorer.
- Author:
- Holger Brandl
- See Also:
AcousticScorer,
Token
normalize
Scoreable normalize(java.util.List<? extends Scoreable> scoreableList,
Scoreable bestToken)
- Normalizes the scores of a set of Tokens.
- Parameters:
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.
- Returns:
- The best token after the all
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.