2

I have a list of words. I would like to automatically be able to retrieve the number of subcategories from wordnet for each of these words. How would you do this?

I am also looking for a mysql version of wordnet but can't find one anywhere. Would you know where to find one?

Best,

user1029296
  • 609
  • 8
  • 17

1 Answers1

1

Take a look at this WordNetSQL builder. You should be able to build it out if you follow the download link.

Regarding subcategories, you'd use Wordnet's hyponyms - given a concept, it gives you the concepts that are more specific. The hyponyms of "Car" would be "hatchback", "compact" etc. Take a look at this part of the NLTK book.

Ram Narasimhan
  • 22,341
  • 5
  • 49
  • 55