Source code to txtdiff (license is GPL3)

Compile with

tar xvfz txtdiff.tar.gz
cd txtdiff
make
I was looking for a good diffing utility that can deal with moved text (not just deleted). And that has some ability to parse written text (not line based). I unfortunatly was not successful, so I set out to create such a utility. This is the result. Currently it just outputs two color coded sequences of text (as webpages output0.html and output1.html). However, I want to create a GUI around this program which would act much like meld which in my opinion is currently the best program out there for merging text. This program is basically a hierarchical alignment problem. It parses sentences by looking for periods and blank lines. It completely ignores whitespace except as token and block separators.