The compiler, named 'compi', was implemented in Ruby. It generates parsers in PERL from DepPattern grammars. To write formal grammars using the formalism ”DepPattern”, please, look up the tutorial (pdf).
In addition, DepPattern is provided with parsers for 5 languages: English, Spanish, Galician, French, and Portuguese. The parsers were implemented in PERL and are stored in the directory “parsers”.
Click here to download DepPattern, a toolkit containing both multilingua natural language parsers implemented with Perl and a compiler implemented in ruby. Machine requirements are the following:
# tar xzvf DepPattern.tgz
# cd DepPattern
# sh install-DepPattern.sh
# sh dp.sh
Syntax: dp.sh type_of_output tagger lang file [parser] [grammar]
type_of_output= -a (analysis), -fa (full analysis) -c (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
Read the user guide to both how to install and how to use the DepGrammar toolkit.