Clairlib is a Perl library developed by Professor Radev's group at the University of Michigan that handles a number of NLP and IR tasks. It will significantly simplify your project if you call the functions in clairlib instead of implementing everything on your own from scratch!
To use clairlib on your CS account:
1. Set the following environment variables. (You can add these lines to your ~/.profile file so you don't have to run them every time.)
export PERL5LIB=/home/cs6998/clairlib/clairlib-fall07/clairlib-core/lib:/home/cs6998/clairlib/perl-fall07:/home/cs6998/clairlib/perl-fall07/lib/perl5/site_perl/5.8.5
export PATH=$PATH:~cs6998/clairlib/clairlib-fall07/clairlib-core/util
2. Run the scripts from the tutorial (also at /home/cs6998/clairlib/clairlib-fall07/clairlib-core/clTut.pdf , Chapter 6).
Useful links
Clairlib documentation
Clarib manual (pdf)
Clairlib pdoc
Email us at cs6998-SET-qa@lists.cs.columbia.edu if you have any questions, in particular if you encounter unexplained error messages. (Don't use courseworks !)