public class SimpleLabelAssigner implements ILabelAssigner
{
public void assignLabels(LingoProcessingContext context, DoubleMatrix2D stemCos,
IntIntOpenHashMap filteredRowToStemIndex, DoubleMatrix2D phraseCos)
{
final PreprocessingContext preprocessingContext = context.preprocessingContext;
final int firstPhraseIndex = preprocessingContext.allLabels.firstPhraseIndex;
final int [] labelsFeatureIndex = preprocessingContext.allLabels.featureIndex;
final int [] mostFrequentOriginalWordIndex = preprocessingContext.allStems.mostFrequentOriginalWordIndex;
final int desiredClusterCount = stemCos.columns();