-
Notifications
You must be signed in to change notification settings - Fork 0
SystemInstallation
See also notes for some specific TRIPS systems:
See also instructions for installing TRIPS using in a virtual machine using the following command:
git clone http://github.com/mrmechko/vagrant-trips && cd vagrant-trips && vagrant up
TRIPS STEP System Vagrant Machine
We have many different TRIPS systems that include the parser with different settings and other modules. Some of them are:
- step
- cogent
- drum
- bob
- cabot
- musica
- cwms
Herein $TRIPS_SYSTEM is used to refer to the specific system you are installing, and $TRIPS_BASE is the directory you are installing it in.
git clone https://github.com/wdebeaum/$TRIPS_SYSTEM.git
You can only do this if you have an account on our CVS server. $USER is the username for that account.
cvs -d $USER@trips.cs.rochester.edu:/p/cvs/trips checkout -P $TRIPS_SYSTEM
Which prerequisites you need depends on the specific system you want to install. But in general you will at least need a Lisp implementation (we tend to use SBCL 1.2+) as well as Java (1.7+), Perl, and some other relatively standard development tools. If you're on a Mac, I think XCode gets you most of this.
If you use SBCL, you need to make sure it has multithreading support (the pre-built binaries don't). On the Mac, an easy way to do this is through MacPorts, using this command:
sudo port install sbcl +threads
TRIPS systems also commonly require WordNet 3.0, which you can download from:
- http://wordnetcode.princeton.edu/3.0/WordNet-3.0.tar.bz2
- http://wordnetcode.princeton.edu/glosstag-files/WordNet-3.0-glosstag.tar.bz2
If you got TRIPS from CVS, get the first one; if you got TRIPS from github, get both. You should unpack these in /usr/local/share/wordnet/ (creating the directory if necessary). They both contain a WordNet-3.0/ directory, so after unpacking you should have the directory /usr/local/share/wordnet/WordNet-3.0/.
The TextTagger README's Installation section has information on installing most other possible prerequisites. You almost certainly do not need all of these; each TRIPS system uses only a subset.
cd $TRIPS_BASE/src/
./configure [options]
make
make install
$TRIPS_BASE/bin/trips-$TRIPS_SYSTEM [options]