parse: berkeley-rcl-trees.out.txt berkeley-rcl-trees.dev.out.txt berkeley-rcl-trees.out.txt: grammar.pcfgla @echo 'berkeley parsing train set' @time cut -d' ' -f3 ../semeval-2014-task6/train/commands.txt | sed -e 's/-/ - /g' | sed -e 's/\.\r/ \./' | java -jar BerkeleyParser-1.7.jar -accurate -gr grammar.pcfgla > berkeley-rcl-trees.out.txt berkeley-rcl-trees.dev.out.txt: grammar.pcfgla @echo 'berkeley parsing dev set' @time cut -d' ' -f3 ../semeval-2014-task6/dev/commands.txt | sed -e 's/-/ - /g' | sed -e 's/\.\r/ \./' | java -jar BerkeleyParser-1.7.jar -accurate -gr grammar.pcfgla > berkeley-rcl-trees.dev.out.txt berkeley-rcl-trees.eval.out.txt: grammar.pcfgla @echo 'berkeley parsing eval set' @time cut -d' ' -f3 ../semeval-2014-task6/eval/commands.txt | sed -e 's/-/ - /g' | sed -e 's/\.\r/ \./' | java -jar BerkeleyParser-1.7.jar -accurate -gr grammar.pcfgla > berkeley-rcl-trees.eval.out.txt train: grammar.pcfgla grammar.pcfgla: rcl.trees time java -cp BerkeleyParser-1.7.jar edu.berkeley.nlp.PCFGLA.GrammarTrainer -path rcl.trees -out grammar.pcfgla -treebank SINGLEFILE