|
|
@ -4,7 +4,7 @@ set -e # Abort on error
|
|
|
|
|
|
|
|
|
|
|
|
# Configuration
|
|
|
|
# Configuration
|
|
|
|
export LOG_LEVEL=${LOG_LEVEL:-DEBUG} # /etc/ocrd_logging.py uses this to set level for all OCR-D modules
|
|
|
|
export LOG_LEVEL=${LOG_LEVEL:-DEBUG} # /etc/ocrd_logging.py uses this to set level for all OCR-D modules
|
|
|
|
export TEXTEQUIV_LEVEL=word
|
|
|
|
export TEXTEQUIV_LEVEL=glyph
|
|
|
|
|
|
|
|
|
|
|
|
# Set up logging
|
|
|
|
# Set up logging
|
|
|
|
if [ "$LOG_LEVEL" = "DEBUG" -o "$LOG_LEVEL" = "TRACE" ]; then
|
|
|
|
if [ "$LOG_LEVEL" = "DEBUG" -o "$LOG_LEVEL" = "TRACE" ]; then
|
|
|
|