Compute and store a co-occurrence thesaurus. More...
#include <CotIndex.h>
Public Member Functions | |
CotIndex (int totalWords, BlockStats *stats, SortedSubIndex< WordSubIndex > *index, FileName *fileName) | |
Compute each of the thesaurus values. | |
bool | calculateRow (int currentRealWord) |
Provide the values for each row and return TRUE if it should be stored. | |
int | listRealPosition (int position) |
Return the value id of the given position. | |
int | indexRealPosition (int position) |
Return the list id of the given position. |
Compute and store a co-occurrence thesaurus.
This class defines the methods to compute the co-occurrence thesaurus values and to store each row of values using the thesaurus structure.