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

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

public class AverageCorpusTFAlgorithm
extends java.lang.Object
implements Algorithm

Average corpus tf = tf_in_corpus(t)/doc freq (t).


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

AverageCorpusTFAlgorithm

public AverageCorpusTFAlgorithm()
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