single_run_regexNER.sh 1.49 KB
echo
echo
echo "==============================Run CoreNLP======================================= ";
echo
echo

input="/home/kevinml/automatic-extraction-growth-conditions/CoreNLP/input/raw-metadata-senteneces.txt"
output="/home/kevinml/automatic-extraction-growth-conditions/CoreNLP/output/"
echo
echo "input file: " $input;
echo
echo "output directory: " $output;


regexfile="/home/kevinml/automatic-extraction-growth-conditions/CoreNLP/input/OneWord_Alphanum.txt"
echo
echo "regex file: " $regexfile;
echo
corenlp.sh -annotators tokenize,ssplit,pos,lemma,regexner -outputFormat conll -file $input -outputDirectory $output -regexner.mapping $regexfile;

regexfile="/home/kevinml/automatic-extraction-growth-conditions/CoreNLP/input/MultWord_Alphanum.txt"
echo
echo "regex file: " $regexfile;
echo
corenlp.sh -annotators tokenize,ssplit,pos,lemma,regexner -outputFormat conll -file $input -outputDirectory $output -regexner.mapping $regexfile;


regexfile="/home/kevinml/automatic-extraction-growth-conditions/CoreNLP/input/OneWord_NOAlphanum.txt"
echo
echo "regex file: " $regexfile;
echo
corenlp.sh -annotators tokenize,ssplit,pos,lemma,regexner -outputFormat conll -file $input -outputDirectory $output -regexner.mapping $regexfile;

regexfile="/home/kevinml/automatic-extraction-growth-conditions/CoreNLP/input/MultWord_NOAlphanum.txt"
echo
echo "regex file: " $regexfile;
echo
corenlp.sh -annotators tokenize,ssplit,pos,lemma,regexner -outputFormat conll -file $input -outputDirectory $output -regexner.mapping $regexfile;