|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcic.wsd.semcor.pruning.Pruning
cic.wsd.semcor.pruning.NthSenseOnly
public class NthSenseOnly
Pruning method for keeping only the Nth sense.
Field Summary |
---|
Fields inherited from class cic.wsd.semcor.pruning.Pruning |
---|
name, parameters |
Constructor Summary | |
---|---|
NthSenseOnly(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 |
---|
public NthSenseOnly(java.lang.String parameter) throws java.lang.Exception
parameter
- N value to be used.
java.lang.Exception
Method Detail |
---|
public void prune(AmbiguousWord target)
Pruning
prune
in class Pruning
target
- Word to be pruned.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |