This isn't really a Rails post but this group has given such great
responses to a range of questions over the years I though I'd ask
I've been tasked with writting a Rails app that takes a block of text,
anywhere from about 50 characters up to 300 characters - about a
sentance or two, and compares it to other similar sized blocks of text
and compares how similar they are, content wise and contextually. It
doesn't have to be perfect but it has to be reasonably close. I was
thinking that it would be good to be able to get a numerical score
depending on how close they were (90 is really close, 20 is not very
close at all) but I'm certainly open to ideas.
Anyway, the problem is I have no idea how to do this or even where to
look to get started. I really doubt that there is already a Ruby
library to do this (although that would rock) , or a Rails plug-in
(although that would rock really hard) so I'm more looking for ideas
on what I should be reading to get a sense on how to start on this.
Anything would help, theoretical ideas, technical papers, Wikipedia
Anyway, any suggestions are greatly appreciated.