|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WordSenseDisambiguation
An interface for any Word Sense Disambiguation algorithm. Implementations
will be given a list of Sentences that need to be disambiguated.
Each disambiguated word should have it's Annotation updated with a
word sense tag corresponding to some Synset in WordNet.
| Method Summary | |
|---|---|
Sentence |
disambiguate(Sentence sentences)
Returns a new List of s which have word sense
labels for each noun found in sentences. |
Sentence |
disambiguate(Sentence sentence,
Set<Integer> targetWords)
Returns a new List of Sentences which have word sense
labels for each annotation index stored in targetWords. |
void |
setup(OntologyReader reader)
Initializes the WordSenseDisambiguation algorithm with the given
OntologyReader. |
| Method Detail |
|---|
void setup(OntologyReader reader)
WordSenseDisambiguation algorithm with the given
OntologyReader. Any other configuration values should be set via
the global system properties object.
Sentence disambiguate(Sentence sentences)
List of s which have word sense
labels for each noun found in sentences.
Sentence disambiguate(Sentence sentence,
Set<Integer> targetWords)
List of Sentences which have word sense
labels for each annotation index stored in targetWords.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||