This commit is contained in:
voje 2019-04-22 09:06:53 +02:00
parent 7b4db5ca14
commit ef1d25786a
6 changed files with 10 additions and 8 deletions

View File

@ -10,10 +10,10 @@ MAKE_ROOT = $(shell pwd)
# (for each kres.xml file there is a kres.json file with srl tags) # (for each kres.xml file there is a kres.json file with srl tags)
# SSJ_FILE = "$(MAKE_ROOT)/data/samples/ssj_xml/ssj500k-sl.body.sample.xml" # SSJ_FILE = "$(MAKE_ROOT)/data/samples/ssj_xml/ssj500k-sl.body.sample.xml"
SSJ_FILE = "$(MAKE_ROOT)/data/ssj_file_link" SSJ_FILE = "$(MAKE_ROOT)/data/ssj_file_link"
KRES_FOLDER = "$(MAKE_ROOT)/data/samples/kres_xml" # KRES_FOLDER = "$(MAKE_ROOT)/data/samples/kres_xml"
# KRES_FOLDER = "$(MAKE_ROOT)/data/kres_xml_folder_link" KRES_FOLDER = "$(MAKE_ROOT)/data/kres_xml_folder_link"
KRES_SRL_FOLDER = "$(MAKE_ROOT)/data/samples/kres_srl_json" # KRES_SRL_FOLDER = "$(MAKE_ROOT)/data/samples/kres_srl_json"
# KRES_SRL_FOLDER = "$(MAKE_ROOT)/data/kres_json_folder_link" KRES_SRL_FOLDER = "$(MAKE_ROOT)/data/kres_json_folder_link"
OUTPUT = "db" OUTPUT = "db"
# OUTPUT = "file" # OUTPUT = "file"
@ -26,7 +26,7 @@ include env.local
N_CORES = 5 N_CORES = 5
# insert kres files into database in chunks, for fewer connections # insert kres files into database in chunks, for fewer connections
KRES_CHUNK_SIZE = 3 KRES_CHUNK_SIZE = 30
export export
.PHONY: python-env fill-database .PHONY: python-env fill-database

View File

@ -1 +1 @@
/home/kristjan/workdir/final_json/ /home/kristjan/kres_data/payload/kres_json/

View File

@ -0,0 +1 @@
/home/kristjan/workdir/final_json/

View File

@ -1 +1 @@
/home/kristjan/kres_mount/kres_parsed/tei/ /home/kristjan/kres_data/payload/kres_xml/

View File

@ -0,0 +1 @@
/home/kristjan/kres_mount/kres_parsed/tei/

@ -1 +1 @@
Subproject commit 2582314c4d69aa6f6a7be9fdf898a2c3fa590d5e Subproject commit 01adf47b9b63b43f86bff52429792b0de2327ddd