in reply to Text (Version) Differencing
It appears to be quite popular for wikis, and a popular implementation seems to be the diff utility from Wikipedia, available in the MediaWiki package.
GNU wdiff, as suggested in one of the pages I linked to above, seems to be using quite a crude methodology.
Now if you want to try building an implementation using Algorithm::Diff, then I'd first try doing a crude diff using a line by line comparison, and once you pinpointed the differences in lines, split these lines into components (words, punctuation, optionally whitespace too) and diff again between the word lists.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Text (Version) Differencing
by planetscape (Chancellor) on Apr 19, 2006 at 08:23 UTC |