adjust the test config for the new ocr

This commit is contained in:
Jean-Francois Dockes
2020-02-28 11:13:56 +01:00
parent 1fb9421163
commit 1f0296a873
3 changed files with 4 additions and 0 deletions
+1
View File
@@ -42,6 +42,7 @@ pdfextrameta = pdf:Producer dc:identifier
pdfextrametafix = /home/dockes/projets/fulltext/recoll/tests/config/pdfemf.py
[/home/dockes/projets/fulltext/testrecoll/pdf]
ocrprogs = tesseract
pdfocr = 1
pdfocrlang = eng
+1
View File
@@ -50,6 +50,7 @@ export LC_ALL=en_US.UTF-8
makeindex() {
echo "Zeroing Index"
rm -rf $RECOLL_CONFDIR/xapiandb $RECOLL_CONFDIR/aspdict.*.rws
rm -rf $RECOLL_CONFDIR/ocrcache
echo "Indexing"
recollindex -c $RECOLL_CONFDIR -z
}