ctext
index
 
Name getAllHypernyms ( )
Examples
size(400,400);
CWordnet wordnet = new CWordnet(this);
    
int yPos = 100;
String[] hypers = wordnet.getAllHypernyms("cat", CWordnet.NOUN);
for (int i = 0; i < hypers.length; i++)
  new CText(this, hypers[i], width/2, yPos+=15);
Description Returns an ordered String[] of hypernym-synsets (each a semi-colon delimited String) up to the root of Wordnet for the 1st sense of the word, or null if not found
Syntax
getAllHypernyms(word, posStr);
getAllHypernyms(id);
Returns None
Usage Web & Application
Related