Showing
1 changed file
with
18 additions
and
0 deletions
CoreNLP/bin/single_run_regexNER.sh
0 → 100644
1 | +echo | ||
2 | +echo | ||
3 | +echo "==============================Run CoreNLP======================================= "; | ||
4 | +echo | ||
5 | +echo | ||
6 | + | ||
7 | +input="/home/kevinml/automatic-extraction-growth-conditions/CoreNLP/input/" | ||
8 | +output="/home/kevinml/automatic-extraction-growth-conditions/CoreNLP/output/" | ||
9 | +regexfile="/home/kevinml/automatic-extraction-growth-conditions/CoreNLP/input/NER_words_Words_NoGreek.txt" | ||
10 | +echo | ||
11 | +echo "input file: " $input; | ||
12 | +echo | ||
13 | +echo "output directory: " $output; | ||
14 | +echo | ||
15 | +echo "regex file: " $regexfile; | ||
16 | +echo | ||
17 | + | ||
18 | +corenlp.sh -annotators tokenize,ssplit,pos,lemma,regexner -outputFormat conll -file $input -outputDirectory $output -regexner.mapping $regexfile; |
-
Please register or login to post a comment