Text comparison algorithm using java-diff-utils

Posted by java_mouse on Programmers See other posts from Programmers or by java_mouse
Published on 2012-04-13T14:18:33Z Indexed on 2012/04/13 17:42 UTC
Read the original article Hit count: 286

Filed under:
|

One of the features in our project is to implement a comparison algorithm between two versions of text and provide a % change between the two versions. While I was researching, I came across google java-diff-utils project.

Has anyone used this for comparing text using java-diff-utils ? Using this utility, I can get a list of "delta" which I assume I can use it for the % of difference between two versions of the text? Is this a correct way of doing this?

If you have done any text comparison algorithm using Java, could you give me some pointers?

© Programmers or respective owner

Related posts about java

Related posts about text-processing