#!/bin/csh

# create a directory from which the wsd system will be run
# must include the lexical sample data, a stoplist and a token def file
# also includes senseval-2 key (fine.key) and sensemap, both needed
# for scoring program

if ($#argv != 2) then 
   echo "Usage: setup source-dir dest-dir"
   exit 1
endif

if (-e $2) then
	echo $2 already exists, aborting
	exit 1
endif 

mkdir $2

cp -r $1/LexSample $2
cp $1/stop.list $2
cp $1/token1.txt $2
cp $1/token4.txt $2
cp $1/fine.key $2
cp $1/sensemap $2

cd $2 

echo "setup is done"
