javanlpwordnetjaws-wordnetword-sense-disambiguation

How to integrate "WordNet Domains" into WordNet DB?


I am using WordNet 2.1 tool and accessing it pro-grammatically via JAWS(Java API for WordNet Searching).

Today I came across this new thing called WordNet Domains which has assigned DOMAIN labels to each word in WordNet.

link:- http://wndomains.fbk.eu/labels.html

I have downloaded the same from above link. Its a zip file.

My question is:- How do I use "WordNet Domains" along with "WordNet" in Java?


Solution

  • Th answer is: The WNDomains project comes with a doc file that supplies the wordID and word domain. This wordID is the wordnet 2.1 wordID. So in java you can write a program thats maps the corresponding ID by mapping (reading doc file line by line)