Question

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?

Was it helpful?

Solution 2

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)

OTHER TIPS

Since you are using java, you can load the labels as a HashMap<String, List<String>>.

From personal experience, I would say instead of using Domain Labels, you can use values for the domains : Extended WordNet Domains project (http://adimen.si.ehu.es/web/XWND) on WordNet 3.0.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top