mass-scraper/scraper/Makefile
Dawid Jurkiewicz c3b86fe5a9 Prototype rule based masses extractor.
Added spider.
Started working on testsets.
2018-01-20 21:55:26 +01:00

28 lines
563 B
Makefile

SHELL := /bin/bash
PREPARE_ENVIRONMENT := $(shell ./prepare-environment.sh > /tmp/makeenv)
include /tmp/makeenv
.PHONY: all clean
all: parishes-deon.txt
parishes-deon.tsv:
./crawl_deon.py > $@
annotated-filtered.tsv: annotated-warszawa.tsv annotated-poznan.tsv
cat $< <(tail -n +2 $(word 2, $^)) > tmp_
./intersect_parishes.py -a tmp_ > $@
annotated-warszawa.tsv:
./crawl_warszawa.py > $@ 2> error_warszawa
annotated-poznan.tsv:
./crawl_poznan.py > $@ 2> error_poznan
clean:
rm -rf parishes-deon.txt
update:
conda env update -f ../environment.yml