cic.wsd.semcor.pruning
Class FirstSenses

java.lang.Object
  extended by cic.wsd.semcor.pruning.Pruning
      extended by cic.wsd.semcor.pruning.FirstSenses

public class FirstSenses
extends Pruning

Pruning method for keeping the first N senses.

Author:
Francisco Viveros-Jiménez

Field Summary
 
Fields inherited from class cic.wsd.semcor.pruning.Pruning
name, parameters
 
Constructor Summary
FirstSenses(java.lang.String parameter)
           
 
Method Summary
 void prune(AmbiguousWord target)
          Method for removing senses from a word.
 
Methods inherited from class cic.wsd.semcor.pruning.Pruning
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FirstSenses

public FirstSenses(java.lang.String parameter)
            throws java.lang.Exception
Parameters:
parameter - N value to be used.
Throws:
java.lang.Exception
Method Detail

prune

public void prune(AmbiguousWord target)
Description copied from class: Pruning
Method for removing senses from a word.

Specified by:
prune in class Pruning
Parameters:
target - Word to be pruned.