PARSING with LoPaR ------------------ Parsing with LoPar requires the grammar model FILES: * (using the unlexicalised grammar model) .start .gram .lex .oc .OC * (using the lexicalised grammar model) the same as above, plus .lstart .lgram .lchoice .pool The additional files .lgram.txt .lchoice.txt contain the same information as in the pendant files without the extension 'txt', but in ascii vs. in binary format. Alternatively, all grammar model information has been pre-compiled into a single file .params. The INPUT to parsing must be one word per line, with an empty line following each sentence. The German grammar model works for the SYSTEMS Solaris and Linux. Make sure that you obtain the relevant LoPaR version (and the visualisation tool VPF) from http://www.ims.uni-stuttgart.de/~schmid/ ----- SOLARIS grammar models and parsing examples: * unlexicalised: gram-sol-unlex echo "Der Lehrer liest das schlaue Buch . " | tr ' ' '\n' | lopar -params gram-sol-unlex.params -vpf > test-sol-unlex-params.vpf vpf test-sol-unlex-params.vpf * lexicalised: gram-sol-lex echo "Der Lehrer liest das schlaue Buch . " | tr ' ' '\n' | lopar -params gram-sol-lex.params -heads -freq -vpf > test-sol-lex-params.vpf vpf test-sol-lex-params.vpf ----- LINUX grammar models and parsing examples: * unlexicalised: gram-linux-unlex echo "Der Lehrer liest das schlaue Buch . " | tr ' ' '\n' | lopar -params gram-linux-unlex.params -vpf > test-linux-unlex-params.vpf vpf test-linux-unlex-params.vpf * lexicalised: gram-linux-lex echo "Der Lehrer liest das schlaue Buch . " | tr ' ' '\n' | lopar -params gram-linux-lex.params -heads -freq -vpf > test-linux-lex-params.vpf vpf test-linux-lex-params.vpf