public abstract class ScoreCachingSenone extends java.lang.Object implements Senone
Subclasses should implement the abstract
which is called by the
getScore(edu.cmu.sphinx.frontend.Data) method to calculate the score
for each cache miss.
Note: this implementation is thread-safe and can be safely used across different threads without external synchronization.
|Constructor and Description|
|Modifier and Type||Method and Description|
Calculates the score for this senone based upon the given feature.
Gets the cached score for this senone based upon the given feature.
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public float getScore(Data feature)
calculateScore(edu.cmu.sphinx.frontend.Data), cached, and then returned.
protected abstract float calculateScore(Data feature)
feature- the feature vector to score this senone against