|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcic.wsd.disambiguation.WSDAlgorithm
cic.wsd.disambiguation.SimplifiedLesk
public class SimplifiedLesk
Simplified lesk algorithm as proposed by Kilgarriff and Rosenzweig in "Framework and Results for English SENSEVAL".
Field Summary |
---|
Fields inherited from class cic.wsd.disambiguation.WSDAlgorithm |
---|
params |
Constructor Summary | |
---|---|
SimplifiedLesk()
|
Method Summary | |
---|---|
Decision |
disambiguate(AmbiguousWord target,
java.util.ArrayList<AmbiguousWord> window)
Disambiguates target using the window. |
java.lang.String |
toString()
Return the name of the algorithm. |
Methods inherited from class cic.wsd.disambiguation.WSDAlgorithm |
---|
getParams, overlap, overlap, overlap, setParams, solve |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SimplifiedLesk()
Method Detail |
---|
public Decision disambiguate(AmbiguousWord target, java.util.ArrayList<AmbiguousWord> window)
WSDAlgorithm
disambiguate
in class WSDAlgorithm
target
- The AmbiguousWord to be disambiguated.window
- The context window that helps disambiguation process.
public java.lang.String toString()
WSDAlgorithm
toString
in class WSDAlgorithm
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |