#include <RelDocUnigramCounter.hpp>
Inheritance diagram for RelDocUnigramCounter:
Public Methods | |
RelDocUnigramCounter (DOCID_T docID, const Index &homeIndex) | |
construct a counter for a doc | |
RelDocUnigramCounter (const WeightedIDSet &docSet, const Index &homeIndex) | |
construct a counter for a subset of weighted docs in a collection | |
virtual | ~RelDocUnigramCounter () |
const string | lexiconID () const |
Protected Methods | |
void | countRelDocUnigram (DOCID_T docID, double weight=1) |
Protected Attributes | |
const Index & | ind |
|
construct a counter for a doc
|
|
construct a counter for a subset of weighted docs in a collection
|
|
|
|
Fill in the counter values with the probability of each term in in the document (count/length). |
|
|
|
|