Class wais.WAISTermDocInfo
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class wais.WAISTermDocInfo

java.lang.Object
   |
   +----wais.WAISTermDocInfo

public class WAISTermDocInfo
extends Object
Container for document specific information for WAIS terms. Each instance of a WAISTermDocInfo is associated with a document in a result set.

Constructor Index

 o WAISTermDocInfo(float, int)
Construct a new WAISTermDocInfo

Method Index

 o GetTermFrequency()
return the number of occurrences of the term in the document.
 o GetWeight()
return the weight of the term with respect to the document.

Constructors

 o WAISTermDocInfo
  public WAISTermDocInfo(float weight,
                         int termFrequency)
Construct a new WAISTermDocInfo
Parameters:
weight - Weight of the term with respect to the document.
termFrequency - The number of occurrences of the term in the document.

Methods

 o GetWeight
  public float GetWeight()
return the weight of the term with respect to the document.
 o GetTermFrequency
  public int GetTermFrequency()
return the number of occurrences of the term in the document.

All Packages  Class Hierarchy  This Package  Previous  Next  Index