T
- the type of token used by this scorerpublic class FractionAsMWEScore<T extends IToken> extends AbstractScorer<IMWE<T>>
Modifier | Constructor and Description |
---|---|
protected |
FractionAsMWEScore()
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.
|
compare
protected FractionAsMWEScore()
public static <T extends IToken> FractionAsMWEScore<T> getInstance()
T
- the type of token used by this scorerCopyright © 2011 Massachusetts Institute of Technology. All Rights Reserved.