anl.aida.core
Class STCBuilder.TermImpl

java.lang.Object
  extended by anl.aida.core.STCBuilder.TermImpl
All Implemented Interfaces:
MIFSTerm
Enclosing class:
STCBuilder

private static class STCBuilder.TermImpl
extends java.lang.Object
implements MIFSTerm


Field Summary
private  int docCount
           
private  int maxF
           
private  float maxS
           
private  int minF
           
private  float minS
           
private  java.lang.String text
           
 
Constructor Summary
private STCBuilder.TermImpl()
           
 
Method Summary
 int getDocumentCount()
          Gets the number of documents this term appears in.
 int getMaxFrequency()
          Gets the maximum frequency count of this term across all documents in the collection.
 float getMaxScore()
          Gets the maximum score of this term across all documents in the collection.
 int getMinFrequency()
          Gets the minimum frequency count of this term across all documents in the collection.
 float getMinScore()
          Gets the minimum score of this term across all documents in the collection.
 java.lang.String getText()
          Gets the text of this term.
(package private)  void setFreqs(int freq)
           
(package private)  void setScores(float score)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

text

private java.lang.String text

maxF

private int maxF

minF

private int minF

docCount

private int docCount

maxS

private float maxS

minS

private float minS
Constructor Detail

STCBuilder.TermImpl

private STCBuilder.TermImpl()
Method Detail

getDocumentCount

public int getDocumentCount()
Description copied from interface: MIFSTerm
Gets the number of documents this term appears in.

Specified by:
getDocumentCount in interface MIFSTerm
Returns:
number of documents this term appears in.

getMinScore

public float getMinScore()
Description copied from interface: MIFSTerm
Gets the minimum score of this term across all documents in the collection.

Specified by:
getMinScore in interface MIFSTerm
Returns:
the minimum score of this term across all documents.

getMaxScore

public float getMaxScore()
Description copied from interface: MIFSTerm
Gets the maximum score of this term across all documents in the collection.

Specified by:
getMaxScore in interface MIFSTerm
Returns:
the maximum score of this term across all documents.

getMinFrequency

public int getMinFrequency()
Description copied from interface: MIFSTerm
Gets the minimum frequency count of this term across all documents in the collection.

Specified by:
getMinFrequency in interface MIFSTerm
Returns:
the minimum frequency count of this term across all documents.

getMaxFrequency

public int getMaxFrequency()
Description copied from interface: MIFSTerm
Gets the maximum frequency count of this term across all documents in the collection.

Specified by:
getMaxFrequency in interface MIFSTerm
Returns:
the maximum frequency count of this term across all documents.

getText

public java.lang.String getText()
Description copied from interface: MIFSTerm
Gets the text of this term.

Specified by:
getText in interface MIFSTerm
Returns:
the text of this term.

setFreqs

void setFreqs(int freq)

setScores

void setScores(float score)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object