public class Longest extends ResolveByScore
chooseLargest| Constructor and Description |
|---|
Longest(IMWEDetector detector)
Constructs a new instance of this detector.
|
| Modifier and Type | Method and Description |
|---|---|
protected <T extends IToken> |
getScorer(java.util.List<T> scorer)
Returns the scoring function for this filter.
|
detectgetWrappedDetectorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetWrappedDetectorpublic Longest(IMWEDetector detector)
detector - the wrapped detector; may not be nullprotected <T extends IToken> IScorer<IMWE<T>> getScorer(java.util.List<T> scorer)
ResolveByScoregetScorer in class ResolveByScoreT - they type of the tokenscorer - the sentence to be scoredCopyright © 2011 Massachusetts Institute of Technology. All Rights Reserved.