T - the type of token used by this scorerpublic class VarianceScore<T extends IToken> extends AbstractScorer<IMWE<T>>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<T,java.lang.Integer> |
idxMap |
| Constructor and Description |
|---|
VarianceScore(java.util.List<T> sentence)
Constructs a new variance scorer for the specified sentence
|
| Modifier and Type | Method and Description |
|---|---|
double |
score(IMWE<T> mwe)
Score the specified object.
|
comparepublic VarianceScore(java.util.List<T> sentence)
sentence - the sentence for the scorerCopyright © 2011 Massachusetts Institute of Technology. All Rights Reserved.