#!/bin/csh

#######################################################################
#This system takes a supervised learning approach to word sense
#disambiguation, where the results of the systems duluth6, duluth7,
#duluth8, duluth9, duluth10, duluthX, and duluthY are combined into an
#ensemble. Each of those systems outputs probabilities for each sense when
#presented with a test example, so all of these are summed together and
#the sense with the maximum probability is assigned to a test example. 
#######################################################################

if ($#argv != 0) then
   echo "duluthZ "
   echo "run this script from a directory whose only contents "
   echo "are the output files from the systems you wish to include"
   echo "in the ensemble"
   exit 1
endif   

    mkdir ens
    cd ens
    mkdir all
    cd all
    mv ../../* .
    cd ../..

   ensembleByDist.pl ens

   score duluthZ


