CofeehousePy/services/corenlp/test/regression/test-document-preprocessing.sh

22 lines
313 B
Bash
Raw Normal View History

2021-01-14 08:07:24 +01:00
#!/usr/bin/env sh
DATA=/u/nlp/data/lexparser/test/
CLASS="edu.stanford.nlp.process.DocumentPreprocessingTester"
TMP=/tmp/dpt-out.$$
cd $DATA
java $CLASS > $TMP
if [ `grep -v PASSED $TMP | wc -l` -eq 0 ] ; then
STATUS=PASS ;
else
STATUS=FAIL ;
fi ;
echo $CLASS
echo $STATUS
rm $TMP