News for hackers. Stuff that matters.
Re:Simple recommendation system written in Ruby by sixtosugarman on Monday March 24, 2014 @08:47AM (#7457865)
You may use Levenshtein Distance to get better results by taking word variations into account.

And also you can enhance it by using semantic similarity scores for strings.

Re:Simple recommendation system written in Ruby by mazelife on Monday March 24, 2014 @10:36AM (#7458422)
If you're willing to get into actual NLP, then semantic similarity would certainly be one way to go. Is there any equivalent to Stanford (Java) or NLTK (Python) in Ruby land? But I'm not sure that Levenshtein will necessarily get you better results than the bag-of-words approach the author is taking with Jaccard distance, if all you're doing is document classification.
Re:Simple recommendation system written in Ruby by jbranchaud on Monday March 24, 2014 @12:00PM (#7458957)
As far as NLP libraries in Ruby land, there is both [treat](https://github.com/louismullie/treat) and [ruby bindings to the Stanford Core NLP](https://github.com/louismullie/stanford-core-nlp).
Re:Simple recommendation system written in Ruby by otobrglez on Monday March 24, 2014 @12:14PM (#7459040)
I've used OpenNLP with jRuby for my NLP experiment. Check it out https://github.com/otobrglez/politiki-ner to get an idea how to mix it.