From 2751a84fc00867f56ec7f18f8a84ae0706ed4a3b Mon Sep 17 00:00:00 2001 From: jvdhorst Date: Wed, 21 Mar 2018 11:55:29 +0100 Subject: [PATCH] Creation of output/wordtagger directory moved from make dirs to make output/wordtagger --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index efcb61b..c07d15d 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,6 @@ dirs: ## create the dirs in working dir @-mkdir -p images/ @-mkdir -p images-tiff/ @-mkdir -p output/ - @-mkdir -p output/wordtagger @-mkdir -p ocr/ @-mkdir -p hocr/ @echo $(color_r)'Directories made': images/ output/ @@ -72,6 +71,7 @@ hocrs: ## hocr with tesseract and then change extension to .html #OUTPUT GENERATION RECIPES output/wordtagger/index.html: ocr/output.txt ## Analyzes OCR'ed text using a Part of Speech (POS) tagger. Outputs a string of tags (e.g. nouns, verbs, adjectives, and adverbs). Dependencies: python3's nltk, jinja2 + mkdir -p output/wordtagger cp src/wordtagger/jquery.min.js output/wordtagger cp src/wordtagger/script.js output/wordtagger cp src/wordtagger/style.css output/wordtagger @@ -92,7 +92,7 @@ output/carlandre.txt: ocr/output.txt ## Alice: Creates visual poetry out of a te cat $< | python3 src/carlandre.py > $(@) # cat $(@) > /dev/usb/lp0 -output/overunder.txt: ocr/output.txt ## Alice: An interpreted language that translate simple weaving instructions and creates a weaving pattern on text. Dependencies: +output/overunder.txt: ocr/output.txt ## Alice: An interpreted language that translate simple weaving instructions and creates a weaving pattern on text. Dependencies: cat $< | python3 src/overunder.py > $(@)