#include <RelDocUnigramCounter.hpp>
Inheritance diagram for RelDocUnigramCounter:

Public Methods | |
| RelDocUnigramCounter (int 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 (int 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). |
|
|
|
|
|
|
1.2.18