run.sh 794 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# calculate ROUGE-Scores for sentence embedding
echo "ROUGE Scores for Sentence Embedding"
cp ../../test_data/ref/wikipedia_alan_turing_ref.txt ./
cp ../../test_data/output/wikipedia_alan_turing_sentence_embedding.txt ./

python3 rouge.py ./wikipedia_alan_turing_ref.txt ./wikipedia_alan_turing_sentence_embedding.txt

rm wikipedia_alan_turing_ref.txt
rm wikipedia_alan_turing_sentence_embedding.txt


# calculate ROUGE-Scores for simple-spacy-summarizer
echo "ROUGE Scores for Simple Spacy Summarizer"
cp ../../test_data/ref/wikipedia_alan_turing_ref.txt ./
cp ../../test_data/output/wikipedia_alan_turing_simple_spacy.txt ./

python3 rouge.py ./wikipedia_alan_turing_ref.txt ./wikipedia_alan_turing_simple_spacy.txt

rm wikipedia_alan_turing_ref.txt
rm wikipedia_alan_turing_simple_spacy.txt