T - the type of token used by this scorerpublic class LengthScore<T extends IToken> extends AbstractScorer<IMWE<T>>
| Modifier | Constructor and Description |
|---|---|
protected |
LengthScore()
This constructor is marked protected so that this class may be
subclassed, but not directly instantiated.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends IToken> |
getInstance()
Returns the singleton instance of this class, instantiating if necessary.
|
double |
score(IMWE<T> mwe)
Score the specified object.
|
compareprotected LengthScore()
public static <T extends IToken> LengthScore<T> getInstance()
T - the type of token used by this scorerCopyright © 2011 Massachusetts Institute of Technology. All Rights Reserved.