at.tuwien.ifs.somtoolbox.output.labeling
Class LagusKeywordLabeler

java.lang.Object
  extended by at.tuwien.ifs.somtoolbox.output.labeling.AbstractLabeler
      extended by at.tuwien.ifs.somtoolbox.output.labeling.LagusKeywordLabeler
All Implemented Interfaces:
Labeler

public class LagusKeywordLabeler
extends AbstractLabeler

Implements the Keyword selection labelling method, as described in Lagus, K. and Kaski, S.:Keyword selection method for characterizing text document maps. Proceedings of ICANN99, 9th International Conference on Artificial Neural Networks, volume 1, pages 371-376, IEEE, London.
This implementation is based on Lucene.
FIXME: still incomplete, based on old/deprecated Lucene API

Version:
$Id: LagusKeywordLabeler.java 3883 2010-11-02 17:13:23Z frank $
Author:
Rudolf Mayer

Field Summary
(package private)  String path
           
 
Constructor Summary
LagusKeywordLabeler(String path)
           
 
Method Summary
 void label(GHSOM ghsom, InputData data, int num)
           
 void label(GrowingSOM gsom, InputData data, int num)
          Determines and adds labels to the units of a GrowingSOM (should be NetworkModel in the future).
 void label(GrowingSOM gsom, InputData data, int num, boolean ignoreLabelsWithZero)
           
static void main(String[] args)
           
 
Methods inherited from class at.tuwien.ifs.somtoolbox.output.labeling.AbstractLabeler
instantiate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

path

String path
Constructor Detail

LagusKeywordLabeler

public LagusKeywordLabeler(String path)
Method Detail

main

public static void main(String[] args)

label

public void label(GHSOM ghsom,
                  InputData data,
                  int num)

label

public void label(GrowingSOM gsom,
                  InputData data,
                  int num)
Description copied from interface: Labeler
Determines and adds labels to the units of a GrowingSOM (should be NetworkModel in the future).

Parameters:
gsom - The GrowingSOM to be labeled.
data - The data that is already mapped onto the GrowingSOM
num - The number of labels per node.

label

public void label(GrowingSOM gsom,
                  InputData data,
                  int num,
                  boolean ignoreLabelsWithZero)