#include <DocUnigramCounter.hpp>
Inheritance diagram for DocUnigramCounter:
Public Methods | |
DocUnigramCounter (DOCID_T docID, const Index &homeIndex) | |
construct a counter for a doc | |
DocUnigramCounter (const vector< DOCID_T > &docSet, const Index &homeIndex) | |
construct a counter for a subset of docs in a collection | |
DocUnigramCounter (const WeightedIDSet &docSet, const Index &homeIndex) | |
construct a counter for a subset of weighted docs in a collection | |
DocUnigramCounter (const Index &collectionIndex) | |
construct a counter for a whole collection of docs | |
virtual | ~DocUnigramCounter () |
const string | lexiconID () const |
Protected Methods | |
void | countDocUnigram (DOCID_T docID, double weight=1) |
Protected Attributes | |
const Index & | ind |
|
construct a counter for a doc
|
|
construct a counter for a subset of docs in a collection
|
|
construct a counter for a subset of weighted docs in a collection
|
|
construct a counter for a whole collection of docs
|
|
|
|
|
|
|
|
|