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.
-
WAISTermDocInfo(float, int)
- Construct a new WAISTermDocInfo
-
GetTermFrequency()
- return the number of occurrences of the term in the document.
-
GetWeight()
- return the weight of the term with respect to the document.
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.
GetWeight
public float GetWeight()
- return the weight of the term with respect to the document.
GetTermFrequency
public int GetTermFrequency()
- return the number of occurrences of the term in the document.
All Packages Class Hierarchy This Package Previous Next Index