edu.cmu.sphinx.decoder.scorer
Interface ScoreNormalizer

All Superinterfaces:
Configurable
All Known Implementing Classes:
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

Method Summary
 Scoreable normalize(java.util.List<Token> scoreableList, Scoreable bestToken)
          Normalizes the scores of a set of Tokens.
 
Methods inherited from interface edu.cmu.sphinx.util.props.Configurable
newProperties
 

Method Detail

normalize

Scoreable normalize(java.util.List<Token> scoreableList,
                    Scoreable bestToken)
Normalizes the scores of a set of Tokens.

Parameters:
scoreableList - The set of scores to be normalized
bestToken - 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.