forked from CogComp/cogcomp-nlp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbenchmark.sh
23 lines (18 loc) · 1.54 KB
/
benchmark.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
DIST=target
if [ ! -e $DIST ]; then
echo "here"
mvn install -DskipTests=true
fi
mvn exec:java -Dexec.arguments=-Xmx8g -Dexec.mainClass=edu.illinois.cs.cogcomp.temporal.normalizer.main.TemporalNormalizerBenchmark -Dexec.args="-inputFolder data/te3-platinum -outputFolder te3_chunker_illininorm"
echo "Use chunker to extract + illinois-time to normalize"
(cd tools/ && python TE3-evaluation.py ../data/te3-platinum ../te3_chunker_illininorm)
mvn exec:java -Dexec.arguments=-Xmx8g -Dexec.mainClass=edu.illinois.cs.cogcomp.temporal.normalizer.main.TemporalNormalizerBenchmark -Dexec.args="-useGoldChunk -inputFolder data/te3-platinum -outputFolder te3_goldext_illininorm"
echo "Use gold extraction + illinois-time to normalize"
(cd tools/ && python TE3-evaluation.py ../data/te3-platinum ../te3_goldext_illininorm)
mvn exec:java -Dexec.arguments=-Xmx8g -Dexec.mainClass=edu.illinois.cs.cogcomp.temporal.normalizer.main.TemporalNormalizerBenchmark -Dexec.args="-useHeidelTime -inputFolder data/te3-platinum -outputFolder te3_chunker_htnorm"
echo "Use chunker to extract + HeidelTime to normalize"
(cd tools/ && python TE3-evaluation.py ../data/te3-platinum ../te3_chunker_htnorm)
mvn exec:java -Dexec.arguments=-Xmx8g -Dexec.mainClass=edu.illinois.cs.cogcomp.temporal.normalizer.main.TemporalNormalizerBenchmark -Dexec.args="-useGoldChunk -useHeidelTime -inputFolder data/te3-platinum -outputFolder te3_goldext_htnorm"
echo "Use gold extraction + HeidelTime to normalize"
(cd tools/ && python TE3-evaluation.py ../data/te3-platinum ../te3_goldext_htnorm)