If we have defined an user grammar following the DepPattern requirements, the command 'dp.sh' could be the following:
dp.sh -a treetagger en mytext.txt new_parser user_grammar.txt > mytext.dep
Here 'new_parser' is the name of the parser just generated using both a DepPattern grammar ('user_grammar') and the DepPattern compiler (Compi-beta). If you are not provided with a DepPattern grammar, you can find a testing one in the 'grammars' directory. This grammar can be compiled to generate a new parser, 'parser_test', which can be used to analyse the input file, 'mytext.txt' as follows:
dp.sh -a treetagger en mytext.txt parser_test grammars/grammar_test.txt > mytext.dep