|
||||||||||
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.RandomSense
public class RandomSense
A simple Random Sense heuristic.
Field Summary |
---|
Fields inherited from class cic.wsd.disambiguation.WSDAlgorithm |
---|
params |
Constructor Summary | |
---|---|
RandomSense()
|
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 RandomSense()
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 |