single_run_regexNER.sh
690 Bytes
echo
echo
echo "==============================Run CoreNLP======================================= ";
echo
echo
input="/home/egaytan/automatic-extraction-growth-conditions/CoreNLP/input/annotation/bg_sentences_v3.txt"
output="/home/egaytan/automatic-extraction-growth-conditions/CoreNLP/output/annotation"
regexfile="/home/egaytan/automatic-extraction-growth-conditions/CoreNLP/input/NER/inputEntities.txt"
echo
echo "input file: " $input;
echo
echo "output directory: " $output;
echo
echo "regex file: " $regexfile;
echo
corenlp.sh -annotators tokenize,ssplit,pos,lemma,regexner -outputFormat conll -file $input -outputDirectory $output -regexner.mapping $regexfile -outputExtension .ner;