tags:

views:

60

answers:

2

Basically, I'm not looking for specific differences as you would get with a normal diff algorithm, I'm looking more to generate some sort of numeric value which represents the level of difference of two blocks of text so that I can take a bunch of different text blocks and extract a set of those text blocks that qualify as being sufficiently unique from each other. Any ideas?

+9  A: 

You can use the Levenshtein distance.

Joey
Looks perfect, cheers.
Nathan Ridley
A: 

How do I summarize two texts on similar perspectives and topic for example a policeman's perspective on a pickpocketmodus operandi and a pickpoketer's owns perspective on how he pick his victim

wan
This sounds like a question, not an answer. Use the big "Ask Question" button at the top right of the page.
Nathan Ridley