NLP processing code written back in 2001 for a commercial NLP system. Released as open source. Might still be useful.