How would I use WordNet to build a recommendation

2019-07-26 04:47发布

问题:

I've got a set of queries and notes and I'd like recommend similar queries and notes based on any given entry, using WordNet. Where would I begin to learn how to do that? What language(s) should I use for something like this, what should I study, etc.

I'm a self taught programmer, a beginner, but I'm willing to learn, ask questions and read.

Is this something that is feasible i.e. using wordnet to create a recommender system?

What if I want to cluster these queries in a single document; say as a brief overview or outline?

回答1:

This question is a bit general, but I'd say the first step is to choose a programming language, and then go and evaluate its WordNet bindings. You don't actually need to use an API if you are comfortable in your language, as the WordNet files are all fairly easy to parse.

But if starting from scratch, with no strong leanings to any language, I'd suggest first looking at Python and the NLTK library. NLTK has a WordNet sub-library but will also give you other functions you are going to need. And there are also at least a couple of books on it.