public class SmallestVariance extends ResolveByScore
chooseLargest| Constructor and Description |
|---|
SmallestVariance(IMWEDetector detector)
A new resolver that wraps the specified detector.
|
| Modifier and Type | Method and Description |
|---|---|
protected <T extends IToken> |
getScorer(java.util.List<T> sentence)
Returns the scoring function for this filter.
|
detectgetWrappedDetectorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetWrappedDetectorpublic SmallestVariance(IMWEDetector detector)
detector - the wrapped detector, may not be nulljava.lang.NullPointerException - if the specified detector is nullprotected <T extends IToken> IScorer<IMWE<T>> getScorer(java.util.List<T> sentence)
ResolveByScoregetScorer in class ResolveByScoreT - they type of the tokensentence - the sentence to be scoredCopyright © 2011 Massachusetts Institute of Technology. All Rights Reserved.