Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
I want to obtain the hypernyms of a word.
Example: For Dog, it will be
canine, placental, mammal, vertebrate, chordate, animal, organism, living thing, object, entity.
PointerTargetTree hypernymTree = PointerUtils.getInstance().getHypernymTree(word.getSense(1));
PointerTargetNodeList ptnl = hypernymTree.getRootNode().getChildTreeList();
I cannot understand why the size of ptnl is 1. Iterating this gives canine but how to get the rest of the tree is the question.