I don't know how well txtkit works, but the screenshots are damn cool looking!
The Schoenerwissen Office for Computational Design has put together a toolbox for doing visual text mining. Not only are there pretty pictures, but a command line interface. I'd grab it in a hearbeat if it wasn't Mac OS X only.
There's probably an interesting little domain specific/scripting language hidden in there.