adjust the test config for the new ocr
This commit is contained in:
parent
1fb9421163
commit
1f0296a873
2
.gitignore
vendored
2
.gitignore
vendored
@ -19,6 +19,7 @@
|
||||
.libs
|
||||
.vs
|
||||
\#*
|
||||
__pycache__
|
||||
build-*-Debug
|
||||
build-*-Release
|
||||
libtool
|
||||
@ -90,6 +91,7 @@ tests/config/idxstatus.txt
|
||||
tests/config/index.pid
|
||||
tests/config/missing
|
||||
tests/config/xapiandb
|
||||
tests/config/ocrcache
|
||||
tests/indexedmimetypes/aspdict.en.rws
|
||||
tests/indexedmimetypes/idxstatus.txt
|
||||
tests/indexedmimetypes/index.pid
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user