Executing

A simple main program, dp.sh, is included in the package to execute either an existing parser or a generated parser from a DepPattern grammar. The syntax of dp.sh is the following:

dp.sh  <type_of_output> <tagger> <lang> <file> [parser] [grammar] 

    type_of_output= -a (dependency analysis), -c (correct tagged text)
    tagger=freeling, treetagger
    language=gl, es, en, pt, fr
    file=path of the file input
             parser=path of the parser, or name of the parser generated from grammar 
             grammar=path of the file grammar

If you haven't installed Freeling, don't choose 'freeling'.

Next chapter describes in more detail the usage of dp.sh.



Pablo Gamallo 2009-10-02