single_run_regexNER.sh
661 Bytes
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/"
regexfile="/home/kevinml/automatic-extraction-growth-conditions/CoreNLP/input/NER_words_Words_NoGreek.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;