in reply to
calculate matching words/sentence
Try also Text::PhraseDistance that:
... provides a way to compare two phrases and to give a measure of their proximity.
Electric dreams (yikes!)
2001: A Space Odyssey
None of the above, please specify
Results (127 votes),