File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2
2
.SECONDARY :
3
3
.DELETE_ON_ERROR :
4
4
5
+ all : all-tess all-hunspell
6
+
5
7
install :
6
8
sudo apt-get install sqlite3 wget
7
9
sudo add-apt-repository -u -y ppa:alex-p/tesseract-ocr
8
10
sudo apt-get update
9
11
sudo apt-get install tesseract-ocr
10
12
11
- all : all-tess all-hunspell
12
-
13
13
TESS_MODELS := frak2021 GT4HistOCR ONB Fraktur_5000000 german_print frk Fraktur
14
14
15
15
GT4HistOCR.traineddata :
@@ -62,8 +62,8 @@ de-dta.dic: dta_lexdb_10.words
62
62
# to do: combine DTA lemmatization and contemporary affixation to a historic affixation system (instead of fixed word list)
63
63
grep -v -e ' ^[[:punct:]]' -e ' ^[[:digit:][:punct:]]*$$' $< | sort -u >> $@
64
64
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
67
67
68
68
tidy :
69
69
-$(RM ) * .lstm-unicharset * .lstm-word-dawg * .__tmp__
You can’t perform that action at this time.
0 commit comments