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