andrew cooke wrote:
On Feb 4, 10:20 pm, Nick Matzke <mat...@berkeley.edu> wrote:So I have an interesting challenge. I want to compare two book chapters, which I have in plain text format, and find out (a) percentage similarity and (b) what has changed.no idea if it will help, but i found this yesterday - http://www.nltk.org/ it's a python toolkit for natural language processing. there's a book at http://www.nltk.org/book with much more info.
Also there is difflib in the standard package which can be used depending on exact definition of "similarity". Regards Tino
smime.p7s
Description: S/MIME Cryptographic Signature
-- http://mail.python.org/mailman/listinfo/python-list