forked from kristjan/cjvt-valency
todo: implement parser output separately
This commit is contained in:
7
Makefile
7
Makefile
@@ -11,6 +11,9 @@ MAKE_ROOT = $(shell pwd)
|
||||
SSJ_FILE = "$(MAKE_ROOT)/data/samples/ssj_example/ssj500k-sl.body.sample.xml"
|
||||
KRES_FOLDER = "$(MAKE_ROOT)/data/samples/kres_example"
|
||||
KRES_SRL_FOLDER = "$(MAKE_ROOT)/data/kres_srl"
|
||||
OUTPUT = "file"
|
||||
OUTDIR = "$(HOME)/workdir/outputfolder"
|
||||
DBADDR = ""
|
||||
export
|
||||
|
||||
.PHONY: dev-env preflight
|
||||
@@ -30,5 +33,5 @@ data/samples:
|
||||
# when debugging, run this once, then run python3 ... by hand
|
||||
preflight: data/samples
|
||||
pip3 install -e src/pkg/corpusparser/.
|
||||
python3 src/preflight/main_parse.py --kres-folder $(KRES_FOLDER) \
|
||||
--ssj-file $(SSJ_FILE) --kres-srl-folder $(KRES_SRL_FOLDER)
|
||||
python3 src/pkg/corpusparser/corpusparser/main.py --kres-folder $(KRES_FOLDER) \
|
||||
--ssj-file $(SSJ_FILE) --kres-srl-folder $(KRES_SRL_FOLDER) --output $(OUTPUT) --outdir $(OUTDIR) --dbaddr $(DBADDR)
|
||||
|
||||
Reference in New Issue
Block a user