edu.mit.jmwe.detect.score
Class AbstractScorer<T>
java.lang.Object
edu.mit.jmwe.detect.score.AbstractScorer<T>
- Type Parameters:
T
- the type of object used by this scorer
- All Implemented Interfaces:
- IScorer<T>, Comparator<T>
- Direct Known Subclasses:
- FractionAsMWEScore, LengthScore, LeskScore, StartingIndexScore, VarianceScore
public abstract class AbstractScorer<T>
- extends Object
- implements IScorer<T>
Base class for scorers that provides the comparator functionality.
- Since:
- jMWE 1.0.0
- Version:
- $Id: AbstractScorer.java 598 2011-05-06 03:33:34Z markaf $
- Author:
- M.A. Finlayson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface edu.mit.jmwe.detect.score.IScorer |
score |
AbstractScorer
public AbstractScorer()
compare
public int compare(T o1,
T o2)
- Specified by:
compare
in interface Comparator<T>
Copyright © 2011 Massachusetts Institute of Technology. All Rights Reserved.