rj365 - 2005-11-05

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.

Code:

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.

Thanks!