-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
38 lines (23 loc) · 1.17 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
make all:
cd doc; make; cd ..
clean_cache_SCIP:
rm -f /tmp/LinksToDAG_SCIP_cache.p
clean_cache_linkparses:
rm -f /tmp/LinksToDAG_linkparses_cache.p
clean: clean_cache_SCIP clean_cache_linkparses
# Paper
paper:
cd doc; make; cd .. #pdflatex LinksToDAG.tex -output-format pdf -halt-on-error -file-line-error
clean_paper:
cd doc; ./clean.sh
# Graphs
graph_runtime:
python src/tools/plotter.py -x "Sentences" -y "Runtime (seconds)" -o "sol/runtimes/runtimes.png" sol/runtimes/runtimes.txt
cp sol/runtimes/runtimes.png doc
graph_precision_recall:
python src/tools/plotter.py -x "Sentences used from the corpus" -y Percent -o sol/precision_recall/precision_recall.png sol/precision_recall/precision#en.txt sol/precision_recall/recall#en.txt
cp sol/precision_recall/precision_recall.png doc/figure/
graph_precision_recall_en_ru:
python src/tools/plotter.py -x "Sentences used from the corpus" -y Percent -o sol/precision_recall/precision_recall.png sol/precision_recall/precision#en.txt sol/precision_recall/recall#en.txt sol/precision_recall/precision#ru.txt sol/precision_recall/recall#ru.txt
cp sol/precision_recall/precision_recall.png doc/figure/
graph: graph_precision_recall