Makefile 1018 Bytes
Newer Older
1 2 3 4 5 6
self_doc:
	@echo "make update --> Rebuild sequoia.surf.conll and sequoia.deep.conll"
	@echo "make clean  --> Remove automatically built files"
	@echo "make mwe    --> List and count MWE in Sequoia"

update:
Bruno Guillaume's avatar
Bruno Guillaume committed
7 8
	grew transform -grs tools/sequoia_proj.grs -strat surf -i trunk/sequoia.deep_and_surf.conll -o trunk/sequoia.surf.conll
	grew transform -grs tools/sequoia_proj.grs -strat deep -i trunk/sequoia.deep_and_surf.conll -o trunk/sequoia.deep.conll
9 10 11 12 13 14 15 16

clean:
	rm -f trunk/sequoia.surf.conll trunk/sequoia.deep.conll

mwe:
	grep mwelemma trunk/sequoia.surf.conll | cut -f 6 | sed "s/mwelemma/%mwelemma/" | tr '%' '\n' | grep mwelemma | cut -f 1 -d "|" | sed "s/mwelemma=//" | sort | uniq -c | sort -r

talc2:
Bruno Guillaume's avatar
Bruno Guillaume committed
17
	scp tools/sequoia_proj.grs tools/sequoia.dom ${stalc2}/resources
18

Bruno Guillaume's avatar
Bruno Guillaume committed
19 20 21 22 23
ud:
	conll_tool split trunk/sequoia.surf.conll tools/dev.ids trunk/surf-dev.conll
	conll_tool split trunk/sequoia.surf.conll tools/test.ids trunk/surf-test.conll
	conll_tool split trunk/sequoia.surf.conll tools/train.ids trunk/surf-train.conll