I use jaws-wordnet searching and am new to it. I am finding the conceptual distance between 2 senses for which I wanted to know the length of path between 2 senses in terms of hypernym.
Do anybody know how is it calculated? Is there any function in jaws for this?
No, JAWS has no built-in functions to find what you seek.
However, it is pretty simple to program (
sourceForm
andtargetForm
are the words you want to calculate hypernym-path-length from):Where findHypernymsRecursive works like this:
Disclaimer: I haven't actually tried this code out. It is probably full of typos...