Installation

Japanese version

The compilation of Enju requires LiLFeS installed. It also requires g++ version 3.2 or higher.

Get grammar data files "enju-grammar-X.Y.Z.tar.gz" (X.Y.Z is a version number ) separately. If you want to make data files from Penn Treebank, see Advanced usage.

Enju is provided as a subpackage of MAYZ toolkit. Installation of Enju must be done in the top directory of the MAYZ package since Enju requires some files in MAYZ to be installed.

  1. Download the package of MAYZ "mayz-X.Y.Z.tar.gz" (X.Y.Z is a version number), and untar it.
    % tar xvzf mayz-0.1.tar.gz
  2. Run "configure".
    % ./configure
    By default, Enju will be installed in "/usr/local/". If you want to install it in a different directory (e.g. in $INSTALL_DIR), specify "prefix" as follows.
    % ./configure --prefix=$INSTALL_DIR
    lilfes must have been installed with the same prefix. If they are installed in a different directory, specify CXXFLAGS and LDFLAGS to the directory where include files and libraries are installed.
  3. Install Enju.
    % make install-enju
  4. Untar the package of data files "enju-grammar-X.Y.Z.tar.gz" (X.Y.Z is a version number) in /usr/local/share/liblilfes/enju/ (if you have specified "prefix", untar it in $prefix/share/liblilfes/enju).
    % cd /usr/local/share/liblilfes/enju/
    % tar xvzf enju-grammar-X.Y.Z.tar.gz
    When you want to install it in another directory, set the environment variable ENJU_DIR to the directory.

For those who took the package from CVS

At first, you must run the following commands to make "configure" script.
% aclocal; autoheader; automake --add-missing --foreign; autoconf

Enju Manual Enju Home Page Tsujii Laboratory
MIYAO Yusuke (yusuke@is.s.u-tokyo.ac.jp)