|
Windows NT
|
Download Windows NT Version of the program.
Installation Steps
-
Unzip File:
This is a zipped file, so you will need some software (e.g. Winzip) to unzip it. The files will be unzipped into a folder called Pcfg_Parser
-
Check Java Installation
To run this program you need to have Java 2 installed on your machine. Java 2 can freely be downloaded from java.sun.com. Once Java is installed on your machine, make sure your Path includes the bin directory of the java installation, and make sure your Classpath includes the current directory.
-
Check Perl Installation
Perl also needs to be installed on your machine for this program to run with the graphical interface. If you do not have Perl already installed, you can download it from www.cpan.org. Once this is installed make sure you can run perl programs from the directory you downloaded the files to.
When all of these programs have been installed correctly, you should be ready to run the PCFG Parser
|
|
Solaris
|
Download Solaris Version of the program.
Installation Steps
-
Unzip File:
This file has been tarred and gzipped, so you will need to extract the files. You can do this easily by using a command like gtar -zxvf pcfg_sol.tar.gz if you have gtar installed on your system. The files should be unzipped into a folder called Pcfg_Parser
-
Check Java Installation
To run this program you need to have Java 2 installed on your machine. Java 2 can freely be downloaded from java.sun.com. Once Java is installed on your machine, make sure your Path includes the bin directory of the java installation, and make sure your Classpath includes the current directory.
-
Check Perl Installation
You need to know where Perl has been installed on your machine. You can do this by typing which perl. This will tell you the directory perl has been installed in. If this is not /usr/bin/perl you will need to change the very first line of each perl file in the Pcfg_Parser directory. It will need to be changed to #! followed by the directory perl is installed in. This might be something like #!/usr/local/bin/perl or #!/bin/perl.
Once you have made any necessary changes, you should be ready to run the PCFG parser.
|
|
Other Operating Systems
|
Download the Source Files
You will need Java 2 and Perl installed on your machine.
Installation Steps
-
Unzip File:
This file contains all the source files. They all need to be extracted into the same folder (Pcfg_Parser by default).
-
Compile Java Files
The Java files need to be compiled to get the class files necessary to run the java program. Use the javac program to do this.
-
Download and Compile C Files
Download the C files from http://www.cis.upenn.edu/~josephr/Treefig/ .You need to compile the treescape.c file to create an executable file called treescape. You made need to make minor changes to the code to compile it on different operating systems, as it was designed specifically for unix systems.
Once the java and c files have been compiled, you should be able to run the PCFG Parser.
|