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

Public Methods | |
| RelDocUnigramCounter (int docID, Index &homeIndex) | |
| construct a counter for a doc | |
| RelDocUnigramCounter (WeightedIDSet &docSet, Index &homeIndex) | |
| construct a counter for a subset of weighted docs in a collection | |
| virtual | ~RelDocUnigramCounter () |
| const char * | lexiconID () |
Protected Methods | |
| void | countRelDocUnigram (int docID, double weight=1) |
Protected Attributes | |
| 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.16