Util
Class TermCounter

java.lang.Object
  extended by Util.TermCounter

public class TermCounter
extends java.lang.Object

Counts the number of times a Phrase has been used in a document.
Use this class by right-clicking in Eclipse and going to Source->Generate Delegate Methods

Author:
davidc

Constructor Summary
TermCounter()
           
 
Method Summary
 void addTermSetCount(Phrase termSet, int n)
           
 int getNumInstancesOfTermSet(Phrase s)
           
 double getTermSetsSupported()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TermCounter

public TermCounter()
Method Detail

getTermSetsSupported

public double getTermSetsSupported()

getNumInstancesOfTermSet

public int getNumInstancesOfTermSet(Phrase s)

addTermSetCount

public void addTermSetCount(Phrase termSet,
                            int n)