Skip to content

Commit 8cf48dd

Browse files
committed
all as default goal
1 parent 68c7701 commit 8cf48dd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
.SECONDARY:
33
.DELETE_ON_ERROR:
44

5+
all: all-tess all-hunspell
6+
57
install:
68
sudo apt-get install sqlite3 wget
79
sudo add-apt-repository -u -y ppa:alex-p/tesseract-ocr
810
sudo apt-get update
911
sudo apt-get install tesseract-ocr
1012

11-
all: all-tess all-hunspell
12-
1313
TESS_MODELS := frak2021 GT4HistOCR ONB Fraktur_5000000 german_print frk Fraktur
1414

1515
GT4HistOCR.traineddata:
@@ -62,8 +62,8 @@ de-dta.dic: dta_lexdb_10.words
6262
# to do: combine DTA lemmatization and contemporary affixation to a historic affixation system (instead of fixed word list)
6363
grep -v -e '^[[:punct:]]' -e '^[[:digit:][:punct:]]*$$' $< | sort -u >> $@
6464

65-
clean:
66-
-$(RM) *.words *.traineddata *.sqlite *.lstm-unicharset *.lstm-word-dawg
65+
clean: tidy
66+
-$(RM) *.words *_dta*.traineddata *.lstm-unicharset *.lstm-word-dawg
6767

6868
tidy:
6969
-$(RM) *.lstm-unicharset *.lstm-word-dawg *.__tmp__

0 commit comments

Comments
 (0)