edu.mit.jmwe.detect.score
Interface IScorer<T>

All Superinterfaces:
Comparator<T>
All Known Implementing Classes:
AbstractScorer, FractionAsMWEScore, LengthScore, LeskScore, StartingIndexScore, VarianceScore

public interface IScorer<T>
extends Comparator<T>

A scorer provides a score for an object.

Since:
jMWE 1.0.0
Version:
$Id: IScorer.java 598 2011-05-06 03:33:34Z markaf $
Author:
M.A. Finlayson

Method Summary
 double score(T obj)
          Score the specified object.
 
Methods inherited from interface java.util.Comparator
compare, equals
 

Method Detail

score

double score(T obj)
Score the specified object. The object may be null, depending on the implementation.

Parameters:
obj - the object to be scored
Returns:
the score
Since:
jMWE 1.0.0


Copyright © 2011 Massachusetts Institute of Technology. All Rights Reserved.