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?

有帮助吗?

解决方案 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)

其他提示

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top