#April 13, 2017

if [ $# -ne 5 ]; then
  echo "The number of parameter is: $#" 1>&2
  echo "Need to type 2 parameter:
	1.folder directory: char_data or word_data
        2.data type: celltype or antigen
        3.'n' of ngram: from 1 to 10
        4.type of creature 
        5.today's date" 1>&2
  exit 1
fi

dir=$1
type=$2
gram_n=$3
creature=$4
today=$5

#Combine label 1 or label 2 to ngramfeature file
#for i in {1..10}
#do
paste label_feature/${creature}/${today}/c10_unclassified_training_${type}_intl2.txt ${dir}/${creature}/${today}/c10_unclassified_training_${type}_${gram_n}gramfeature_svm.txt > ${dir}/${creature}/${today}/c10_unclassified_training_${type}_intl2f${gram_n}gram.txt
paste label_feature/${creature}/${today}/c10_unclassified_curated_${type}_intl2.txt ${dir}/${creature}/${today}/c10_unclassified_curated_${type}_${gram_n}gramfeature_svm.txt > ${dir}/${creature}/${today}/c10_unclassified_curated_${type}_intl2f${gram_n}gram.txt
#done
#Apply libsvm to train and test
