This package provides java-implementation of the parser described in the submitted paper.

To train the factorization models, use the following command.

  ./dualdecomptrain.sh <train-file> <model-prefix> 

For example, users can train a toy parser using the sample file as follows.

  ./dualdecomptrain.sh sample.conll08 sample.mod

Three individual models are generated,
  sample.mod.acd
  sample.mod.pcd
  sample.mod.tad

To test the factorization parser, use the following command.

  ./dualdecomptest.sh <model-prefix> <test-file> <output-file>

For example, users can use the toy parser.

  ./dualdecomptest.sh sample.mod sample.conll08 sample.out


The training/test files are in the CoNLL-2008 format. 

