It would be awesome to visualize wikipedia edits overtime. I don't really care about what the text says, just how blocks of it change over time. I am after the ascetics present in the ever flowing change of data. I think your script might be a good starting point. Think of the videos of a flowers growing, that compress months into a few seconds. Do something similar with wikipedia edits.
I've been doing something similar with my blog, except it is currently for people who do care what the text says. The diff algo is tricky, I should have built up a larger corpus of material before designing.
It looks at paragraphs, sentences, sub-sentence structures, words. It even draws little sparkgraph-ish diagrams. It is not really that long (250 lines by wc) but it has been a huge time sink for tweaking.
I was hoping to see a compact implementation of diff algorithm. However, the script seems to be relying on using the 'diff' utility already present. Not a bad thing, but I was expecting to see something else.
I went with a don't-reinvent-the-wheel approach. Anything I did would have at least doubled the time to write the script and probably yielded a diff half as good.
I could use this as part of git itself for comparing latex document revisions. The current line-oriented diff has all the problems that sentdiff tries to solve.
[+] [-] gourneau|17 years ago|reply
It would be awesome to visualize wikipedia edits overtime. I don't really care about what the text says, just how blocks of it change over time. I am after the ascetics present in the ever flowing change of data. I think your script might be a good starting point. Think of the videos of a flowers growing, that compress months into a few seconds. Do something similar with wikipedia edits.
[+] [-] keenerd|17 years ago|reply
It looks at paragraphs, sentences, sub-sentence structures, words. It even draws little sparkgraph-ish diagrams. It is not really that long (250 lines by wc) but it has been a huge time sink for tweaking.
For an example of some heavy editing: http://kmkeen.com/inabow/2009-01-07-11-22-00.html
[+] [-] ashr|17 years ago|reply
[+] [-] jackowayed|17 years ago|reply
[+] [-] jackowayed|17 years ago|reply
Any suggestions, thoughts, etc. would be greatly appreciated.
[+] [-] ntoshev|17 years ago|reply
[+] [-] akkartik|17 years ago|reply
[+] [-] socmoth|17 years ago|reply
i also found dwdiff, which you may like because it is very similar and very unixy http://www.linux.com/feature/114176
[+] [-] boucher|17 years ago|reply
[+] [-] gcv|17 years ago|reply
[+] [-] albertcardona|17 years ago|reply
[+] [-] crux_|17 years ago|reply
Handy!
[+] [-] jackowayed|17 years ago|reply
Never really looked at the git source code, so I'm not sure how easy it would be to do.
[+] [-] bbb|17 years ago|reply
git diff --color-words