Spaces:
Runtime error
Runtime error
File size: 3,644 Bytes
8044721 |
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 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
.PHONY: dm.edm.json eds.edm.json eds.smatch.json eds.mrp.json \
dm.sdp.json peking.sdp.json peking.smatch.json peking.mrp.json \
ucca.ucca.json ucca.smatch.json ucca.mrp.json \
test.smatch.json coli.smatch.json coli.mrp.json \
clean oe all
TRACE ?= --trace --trace
dm.edm.json:
time python3 -u ../../main.py $(TRACE) --score edm \
--read mrp --gold ../sample/eds/wsj.mrp \
../sample/dm/wsj.mrp $@ 2>&1 | tee dm.edm.log
eds.edm.json:
time python3 -u ../../main.py $(TRACE) --score edm \
--read mrp --gold ../sample/eds/wsj.mrp \
eds/wsj.pet.mrp $@ 2>&1 | tee eds.edm.log
eds.smatch.json:
time python3 -u ../../main.py $(TRACE) --score smatch \
--read mrp --gold ../sample/eds/wsj.mrp \
eds/wsj.pet.mrp $@ 2>&1 | tee eds.smatch.log
eds.mrp.json:
time python3 -u ../../main.py $(TRACE) --score mrp \
--read mrp --gold ../sample/eds/wsj.mrp \
eds/wsj.pet.mrp $@ 2>&1 | tee eds.mrp.log
dm.sdp.json:
time python3 -u ../../main.py $(TRACE) --score sdp \
--read mrp --gold ../sample/psd/wsj.mrp \
../sample/dm/wsj.mrp $@ 2>&1 | tee dm.sdp.log
peking.sdp.json:
time python3 -u ../../main.py $(TRACE) --score sdp --text ../wsj.txt \
--format dm --gold ../../../evaluation/dm/wsj.sdp \
--read dm dm/peking.wsj.sdp $@ 2>&1 | tee peking.sdp.log
peking.smatch.json:
time python3 -u ../../main.py $(TRACE) --score smatch --text ../wsj.txt \
--format dm --gold ../../../evaluation/dm/wsj.sdp \
--read dm dm/peking.wsj.sdp $@ 2>&1 | tee peking.smatch.log
peking.mrp.json:
time python3 -u ../../main.py $(TRACE) --score mrp --text ../wsj.txt \
--format dm --gold ../../../evaluation/dm/wsj.sdp \
--read dm dm/peking.wsj.sdp $@ 2>&1 | tee peking.mrp.log
ucca.ucca.json:
time python3 -u ../../main.py --n 500 $(TRACE) --score ucca \
--read mrp --gold ucca/ewt.gold.mrp \
ucca/ewt.tupa.mrp $@ 2>&1 | tee ucca.ucca.log
ucca.smatch.json:
time python3 -u ../../main.py --n 500 $(TRACE) --score smatch \
--read mrp --gold ucca/ewt.gold.mrp \
ucca/ewt.tupa.mrp $@ 2>&1 | tee ucca.smatch.log
ucca.mrp.json:
time python3 -u ../../main.py --n 500 $(TRACE) --score mrp \
--read mrp --gold ucca/ewt.gold.mrp \
ucca/ewt.tupa.mrp $@ 2>&1 | tee ucca.mrp.log
empty.mrp.json:
time python3 -u ../../main.py $(TRACE) --score mrp \
--read mrp --gold dm/empty.gold.mrp \
dm/empty.peking.mrp $@ 2>&1 | tee empty.mrp.log
partial.mrp.json:
time python3 -u ../../main.py $(TRACE) --score mrp \
--read mrp --gold amr/partial.gold.mrp \
amr/partial.system.mrp $@ 2>&1 | tee partial.mrp.log
test.smatch.json:
time python3 -u ../../main.py $(TRACE) --score smatch --limit 50 \
--read amr --gold amr/test1.amr \
amr/test2.amr $@ 2>&1 | tee test.smatch.log
test.mrp.json:
time python3 -u ../../main.py $(TRACE) --score mrp --limit 50 \
--read amr --gold amr/test1.amr \
amr/test2.amr $@ 2>&1 | tee test.mrp.log
coli.smatch.json:
time python3 -u ../../main.py --n 500 $(TRACE) --score smatch \
--read amr --gold amr/coli.gold.amr \
amr/coli.system.amr $@ 2>&1 | tee coli.smatch.log
coli.mrp.json:
time python3 -u ../../main.py --n 500 $(TRACE) --score mrp \
--read amr --gold amr/coli.gold.amr \
amr/coli.system.amr $@ 2>&1 | tee coli.mrp.log
clean:
/bin/rm *.json *.log
oe:
make -j 4 $$(egrep '^[a-z/.]*.json:' Makefile | sed 's/://');
unit: empty.mrp.json partial.mrp.json
all: dm.edm.json eds.edm.json eds.smatch.json eds.mrp.json \
dm.sdp.json peking.sdp.json peking.smatch.json peking.mrp.json \
ucca.ucca.json ucca.smatch.json ucca.mrp.json \
empty.mrp.json test.smatch.json test.mrp.json \
coli.smatch.json coli.mrp.json
|