uk.ac.shef.dcs.oak.jate.core.algorithm
Class TFIDFAlgorithm

java.lang.Object
  extended by uk.ac.shef.dcs.oak.jate.core.algorithm.TFIDFAlgorithm
All Implemented Interfaces:
Algorithm

public class TFIDFAlgorithm
extends java.lang.Object
implements Algorithm

An implementation of the tf-idf algorithm applied to term recognition algorithm.


Constructor Summary
TFIDFAlgorithm()
           
 
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
 

Constructor Detail

TFIDFAlgorithm

public TFIDFAlgorithm()
Method Detail

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