Skip to content

SystemInstallation

Will de Beaumont edited this page Oct 11, 2018 · 8 revisions

General TRIPS System Installation Notes

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

Download Source

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.

github

git clone https://github.com/wdebeaum/$TRIPS_SYSTEM.git

CVS

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

Install Prerequisites

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:

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.

Build

cd $TRIPS_BASE/src/
./configure [options]
make
make install

You can use configure options to let the TRIPS build system know where specific prerequisites are installed on your system, but if they are in the standard locations usually configure will find them on its own. In particular, SBCL's executable is often not called lisp but rather sbcl, so you may have to run ./configure --with-lisp=sbcl.

You can list all configure options by running ./configure --help=recursive in $TRIPS_BASE/src/.

Note that each time you run configure for real (i.e. not with --help) it will overwrite the previous configuration, so if you want to keep the options you passed it before, you need to pass them in again. Also, if you ran make with a previous configuration, you may want to run make clean before your next make, to avoid mixing different configurations.

Run

$TRIPS_BASE/bin/trips-$TRIPS_SYSTEM [options]

Clone this wiki locally