uk.ac.shef.dcs.oak.jate.core.algorithm
Class WeirdnessAlgorithm
java.lang.Object
uk.ac.shef.dcs.oak.jate.core.algorithm.WeirdnessAlgorithm
- All Implemented Interfaces:
- Algorithm
public class WeirdnessAlgorithm
- extends java.lang.Object
- implements Algorithm
An implementation of the word weirdness algorithm applied to term recognition algorithm. See
Ahmad et al 1999, Surrey Participation in TREC8: Weirdness Indexing for Logical Document Extrapolation
and Retrieval
Method Summary |
Term[] |
execute(AbstractFeatureWrapper store)
Execute the algorithm by analysing the features stored in the AbstractFeatureWrapper and return terms extracted and
sorted by their relevance |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WeirdnessAlgorithm
public WeirdnessAlgorithm()
execute
public Term[] execute(AbstractFeatureWrapper store)
throws JATEException
- Description copied from interface:
Algorithm
- Execute the algorithm by analysing the features stored in the AbstractFeatureWrapper and return terms extracted and
sorted by their relevance
- Specified by:
execute
in interface Algorithm
- Returns:
-
- Throws:
JATEException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object