* Discovers labels for clusters.
*/
void buildLabels(LingoProcessingContext context, ITermWeighting termWeighting)
{
final PreprocessingContext preprocessingContext = context.preprocessingContext;
final VectorSpaceModelContext vsmContext = context.vsmContext;
final DoubleMatrix2D reducedTdMatrix = context.reducedVsmContext.baseMatrix;
final int [] wordsStemIndex = preprocessingContext.allWords.stemIndex;
final int [] labelsFeatureIndex = preprocessingContext.allLabels.featureIndex;
final int [] mostFrequentOriginalWordIndex = preprocessingContext.allStems.mostFrequentOriginalWordIndex;
final int [][] phrasesWordIndices = preprocessingContext.allPhrases.wordIndices;