#!/bin/csh

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

# create a feature set that consists of words that occur more than
# freq times

set stoplist=$3
set token=$4      

# parameters for bsp and sensetools

set freq=$2               # frequency cut-off (exclude bigrams < freq)

############# create 1-gram feature sets

count1-spa.pl $freq $stoplist < $1-training.count > $1-training.gram1.regex

echo "gram1 done $1"

