#!/bin/tcsh -f echo ${0:t}": start "`date` if ($#argv < 2) then echo ${0:t}": usage: ${0:t} " exit 1 endif echo "-----------------------------------------------------------------------" echo ${0:t}": Segmentation & tokenization" ${0:h}/tokenizer/run_tokenizer $1/1-token $argv[2-] echo "-----------------------------------------------------------------------" echo ${0:t}": Morphological analysis & tagging" ${0:h}/morphology/run_morphology $1/1-token $1/2-morph echo "-----------------------------------------------------------------------" echo ${0:t}": Parsing" if (! { ${0:h}/parser/run_parser $1/2-morph $1/3-pars } ) exit 1 echo "-----------------------------------------------------------------------" echo ${0:t}": Analytical function assignment" ${0:h}/afun_assigner/run_afun_assigner $1/3-pars $1/4-afuns echo "-----------------------------------------------------------------------" echo ${0:t}": Conversion to PML" ${0:h}/pml_converter/run_pml_converter $1/4-afuns $1/5-pml echo "-----------------------------------------------------------------------" echo ${0:t}": done "`date`