Compute and store the LSA thesarus. More...
#include <LSAFloatThesaurus.h>
Public Member Functions | |
LSAFloatThesaurus (int totalWords, BlockStats *stats, SortedSubIndex< WordSubIndex > *index, FileName *fileName, int eigenvalues) | |
Compute each of the LSA thesaurus values. | |
bool | calculateRow (int currentRealWord) |
Calculate the row and return TRUE if it should be stored. | |
int | listRealPosition (int position) |
Return the real list position (based on the initial index). | |
int | indexRealPosition (int position) |
Return the real index position (based in the initial index). |
Compute and store the LSA thesarus.
This class is used to compute the Latent Semantic Analysis (LSA) values from the document index, and then store the values in a compressed thesarus. This class makes use of the FloatIndex base class.