Hi, I am building and sort of RSS reader in java as my first object-oriented program and would love some OO design tips.
I have a Reader class with a list of Feed objects for RSS feeds, and each Feed downloads news items into Article objects in an Articles list.
What I want to do is find a way to relate articles from multiple sources. To do this, each Article has a HashSet of its keywords, and I would like to compare all article's keywords against each other and keep a count of their matched keywords. If the count between two articles is quite high, I would like to group them in the output.
What is an efficient way to do a 'many-to-many' (?) comparison of the articles and track relative scores?