This package contains the DG-POLFIE. A parser that uses POLFIE to parse the
sentnce and if POLFIE fails it DG-POLFIE tries to recover full parse tree from
parse FRAGMENTS using Polish Dependency Parser. 

This package already contains a special modified POLFIE grammar and Polish
Dependency Parser model. However, you need to install XLE, Pantera and Malt
parser before you can use this package.


****************************************************************************
INSTALLATION/CONFIGURATION

Open package/parse.sh file:
  1) Set the command that is used to invoke the malt parser. Default command
     assumes that the jar file is located inside the package directory 
  2) Set the pantera command. Default command uses docker image that contains
     pantera.
  3) Set path to XLE installation

****************************************************************************

USAGE

In the `package` directory there is `parse.sh` script. This script performs
parsing. It takes only one argument -- the single text file that contains a
single sentence to be parsed.


Example:
  $ bash parse.sh 'input.txt'

If parsing is successful, output will be stored in the file named just like
input file with `.pl` extension appended (e.g. input.txt.pl).
