-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathINSTALL
46 lines (33 loc) · 1.16 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Enju - an HPSG parser for English
Copyright (c) 2005-2014, Tsujii Laboratory, The University of Tokyo.
All rights reserved.
Enju requires:
g++ 3.2 or above, or clang
zlib
regex library
To install Enju:
% ./configure
% make
% make install
Enju will be installed in "/usr/local/bin/enju". To change the
installation place, run
% ./configure --prefix=$INSTALL_DIR
where $INSTALL_DIR is the directory to install Enju.
For details, see "enju-manual/index.html".
----------------------------------------------------------------------
If you need to rebuild "configure" (e.g. when you modified Makefile.am)
Run:
% aclocal; autoheader; automake --add-missing --foreign --copy; autoconf
% ./configure --enable-maintainer-mode
% make
----------------------------------------------------------------------
If you want to create grammar data from scratch:
0. Install "amis" (used for the training of disambiguation models)
1. Put WordNet and Penn Treebank (WordNet in "wordnet" and Penn
Treebank in "penn").
% tar xvzf WordNet-X.X.tar.gz
% tar xvzf penn.tar.gz
2. Run:
% ./configure --with-enju-grammar
% make
The grammar files will be created in "DATA".