-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
23 lines (18 loc) · 1.06 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
WORLDTREE := worldtree_corpus_textgraphs2019sharedtask_withgraphvis
predict-tfidf%.zip: predict-tfidf%.txt
rm -f $@
$(eval TMP := $(shell mktemp -d))
ln -sf $(CURDIR)/$< $(TMP)/predict.txt
zip -j $@ $(TMP)/predict.txt
rm -rf $(TMP)
predict-tfidf-test.txt:
./baseline_tfidf.py $(WORLDTREE)/annotation/expl-tablestore-export-2017-08-25-230344/tables $(WORLDTREE)/questions/ARC-Elementary+EXPL-Test-Masked.tsv > $@
predict-tfidf.txt:
./baseline_tfidf.py $(WORLDTREE)/annotation/expl-tablestore-export-2017-08-25-230344/tables $(WORLDTREE)/questions/ARC-Elementary+EXPL-Dev.tsv > $@
dataset: worldtree_corpus_textgraphs2019sharedtask_withgraphvis.zip
unzip -o $<
worldtree_corpus_textgraphs2019sharedtask_withgraphvis.zip: worldtree_corpus.sha256
@echo 'Please note that this distribution is still subject to the terms set forth in the included license.'
@echo 'See the full license for specific details: EULA AI2 Mercury Dataset 01012018.docx'
curl -sL -o "$@" 'http://cognitiveai.org/dist/worldtree_corpus_textgraphs2019sharedtask_withgraphvis.zip'
sha256sum -c "$<"