Hi Sid,
I just released a version 0.05 of text-similarity, to address the issue of being
able to compare strings in addition to files.
The major change was adding a getSimilarityStrings method, which more or
less turns getSimilarity into a file processing front end to it - so the string
processing functionality was of course already in getSimilarity, it was just
not really exposed because of the file input, so I split them apart
more or less,
and now a user can input strings to getSimilarityStrings, or files to
getSimilarity.
I think WordNet-Similarity is unaffected by all this, and even if it was using
getSimilarity that functionality is still the same.
Also modified text_compare.pl to have a --string option so that a user can input
strings from the command line.
So, I guess the plan to give greater visibility to text-similarity is
working, although
it does lead to more work. :)
Let me know if you see anything amiss with this!
Thanks,
Ted
--
Ted Pedersen
http://www.d.umn.edu/~tpederse
|