user1029296
user1029296

Reputation: 609

WORDNET: Mysql and subcategories

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,

Upvotes: 2

Views: 409

Answers (1)

Ram Narasimhan
Ram Narasimhan

Reputation: 22506

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.

Upvotes: 1

Related Questions