#!/bin/bash
# Nikhilesh Sharma
#***************************************************************#
train_file=$1
template_file=$2
model_file=$3
flag=$4
#model_file=$2
#flag=$3
flagVGI=$5

#path=${file} #_dir
#mkdir $path

#if (( $flag -e 'false' ))

#case $flag
#in
# [tT][rR][uU][eE]) add="D";;
# [fF][aA][lL][sS][eE]) add="ND";;
#esac

java -classpath /home/mtech/System/CPOST/bin:/home/mtech/System/CPOST/lib/colt.jar:/home/mtech/System/CPOST/lib/LBFGS.jar:/home/mtech/System/CPOST/lib/trove.jar:/home/mtech/System/CPOST/lib/UGM.jar iitb.cfilt.cpost.crfpp.FileFormer /home/mtech/System/HindiLinguisticResources/hindiConfig $train_file ${train_file}_new_${flag}_${flagVGI} $flag $flagVGI

#/home/mtech/System/CRF++-0.50/crf_learn /home/mtech/MTP/New_MTP_Data/CRFPP/template_file14 ${train_file}_new_${flag}_${flagVGI} $model_file
/home/mtech/System/CRF++-0.50/crf_learn $template_file ${train_file}_new_${flag}_${flagVGI} $model_file
#/home/mtech/System/Models/Hindi/stage3/model${template_file}_${flag}_${flagVGI}_0909
