Added the FraCaS Treebank to the examples

This commit is contained in:
peter.ljunglof
2012-01-27 22:56:14 +00:00
parent 6f0795d8a3
commit 582c6cc92f
21 changed files with 14183 additions and 0 deletions

33
examples/fracas/Makefile Normal file
View File

@@ -0,0 +1,33 @@
VERSION = 0.2
BANK = FraCaSBank
BUILD-FORMATS = xml pl
LANGUAGES = Original Eng Swe
ZIPFILE = $(BANK)-$(VERSION).zip
FILES-TO-ZIP = Makefile *.* src/*.* doc/*.* build/*.*
GF-FILES = $(wildcard src/*.gf)
.PHONY: build clean distclean dist
.DELETE_ON_ERROR:
build: $(BUILD-FORMATS:%=build/$(BANK).%)
clean:
rm -f src/*.gfo src/*.pyc .DS_Store */.DS_Store
distclean: clean
rm -f build/$(BANK).*
rm -f dist/$(ZIPFILE)
dist: build clean
mkdir -p dist
rm -f dist/$(ZIPFILE)
zip dist/$(ZIPFILE) $(FILES-TO-ZIP)
build/$(BANK).%: $(GF-FILES)
python build_fracasbank.py $* src/$(BANK)I.gf $(LANGUAGES:%=src/$(BANK)%.gf) > $@