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