#!/bin/csh

if ($#argv != 1) then 
   echo "Usage: task "
   exit 1
endif

# combine all regular expression files into a single file

rm -f $1-training.regex

cat $1-training.*.regex > $1-training.regex

# create arff file where class values are union of test and training
#   output is $1-training.xml.arff $1-test.xml.arff

xml2arff.pl $1-training.regex --training $1-training.xml --test $1-test.xml

