#!/bin/csh

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

set siglevel=6.635

# 10.827 is the critical value of chi^2 for one degree of freedom 
# at a significance level of .001

# 6.635 is the critical value of chi^2 for one degree of freedom 
# at a significance level of .01

# 2.706 is the critical value of chi^2 for one degree of freedom 
# at a significance level of .1

set stoplist = $2
set token = $3

gram2 $1 2 2 ll $siglevel 100000 $stoplist $token

echo "f0 finished"



