|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectannotation.WordExpert
public abstract class WordExpert
Expert which have the knowledge of disambiguation of a chosen word.
| Constructor Summary | |
|---|---|
WordExpert(java.lang.String baseForm,
java.util.Collection<? extends corpusapi.Sense> senses)
Constructor |
|
| Method Summary | |
|---|---|
abstract corpusapi.Sense |
disambiguate(Context context)
Returns chosen sense of the word in context |
abstract java.lang.String |
getParamString()
Returns string representation of the method |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WordExpert(java.lang.String baseForm,
java.util.Collection<? extends corpusapi.Sense> senses)
baseForm - base form of the wordsenses - word's senses| Method Detail |
|---|
public abstract corpusapi.Sense disambiguate(Context context)
context - context
public abstract java.lang.String getParamString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||