- A C++ compiler supporting the C++11 language standard
- Boost libraries
- Eigen (newer versions strongly recommended)
- CMake
- gcc (only tested with gcc version 5.3.0, may be incompatible with earlier versions)
mkdir build
cd build
cmake .. -DEIGEN3_INCLUDE_DIR=/path/to/eigen
make -j2
First, run goldParser.py to produce the oracle file. Second run the parser with the following command:
parser/lstm-parse -T SpanishTreebank/train-oracle.txt -D SpanishTreebank/development-oracle.txt --hidden_dim 100 --lstm_input_dim 100 --pretrained_dim 64 -w SpanishTreebank/vec.txt --rel_dim 20 --action_dim 20 -M -P -t
parser/lstm-parse -T SpanishTreebank/train-oracle.txt -D SpanishTreebank/development-oracle.txt --hidden_dim 100 --lstm_input_dim 100 --pretrained_dim 64 -w SpanishTreebank/vec.txt --rel_dim 20 --action_dim 20 -M -P -m <parameters-file>
This software is released under the terms of the Apache License, Version 2.0.