#!/usr/bin/env csh # Usage: # cat $MD/DATA/SAMPLE/small.tok \ # | $MD/casspipe > $MD/DATA/SAMPLE/small.cass # # The input to this pipe are the files in DATA/TOK. # The output is in DATA/CASS. $MD/bin/fsgmatch -q ".*/SENTENCE" $MD/GRAM/smallnumbers.gr \ | $MD/bin/fsgmatch -q ".*/SENTENCE" $MD/GRAM/hyph.gr \ | $MD/bin/sgdelmarkup -q ".*/W/W" \ | $MD/bin/sgdelmarkup -q ".*/W/W" \ | $MD/bin/fsgmatch -q ".*/SENTENCE" $MD/GRAM/paren.gr \ | $MD/bin/ltpos -q ".*/ABSTRACT" -qs ".*/SENTENCE" -qw ".*/W" \ -tag -pos_attr P -kpos_attr K $MD/TAGRES/resource.xml \ | $MD/bin/xmlperl $MD/RES/cass.rule