-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.properties
82 lines (74 loc) · 3.26 KB
/
default.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
###### Configuration file for LAREX ######
### How to: ###
# Comments: #
# <setting>=<value>
# Empty or commented out settings are interpreted as default
# Set the accessible modes in the LAREX GUI <value>=[[segment][edit][lines][text]]
# A combination of the modes "segment", "edit", "lines" and "text" can be set as
# a space separated string.
# e.g. modes:segment lines
# The order of those modes in the string also determines which mode is opened
# on startup, with the first in the list being opened as main mode.
# The mode "segment" can be replaced with "edit" in order to hide all auto
# segmentation features. ("edit" will be ignored if both are present)
# [Default]modes:segment lines text
# LAREX will display any of those modes
#modes=<value>
# Set the file path of the books folder.
# e.g. bookpath:/home/user/books (Linux)
# e.g. bookpath:C:\Users\user\Documents\books (Windows)
# LAREX will load the books off of this folder.
# [default <LAREX>/src/main/webapp/resources/books]
# !!! Do not change in conjunction with development Dockerfile !!!
bookpath=/home/books
# Save the pageXML locally <mode>=[bookpath|savedir|none]
# bookpath: save the pageXML in the bookpath
# savedir: save the pageXML in a defined savedir
# none: do not save the pageXML locally [default]
# e.g. localsave:bookpath
localsave=bookpath
# Save location for the localsave mode "savedir"
# Will be used if localsave mode is set to "savedir"
# e.g. savedir:/home/user/save (Linux)
# e.g. savedir:C:\Users\user\Documents\save (Windows)
savedir=/home/savedir
# Download the pageXML in the web browser after saving
# <value>=[true|false]
# true: download pageXML after saving [default]
# false: no action after saving
# e.g. websave:true
websave=false
# Filter to select specific images via their sub extensions.
# LAREX will only display images that include that sub extension and will group images with the
# same base name up to the sub extension together. Comprised of a list of sub extensions,
# divided by space. Use "." to refer to images without sub extension. [default: no filter]:
# <value>=<extensions>
# e.g. imagefilter:bin nrm
# Pages folder input: image.bin.png, image.png, image2.bin.png, image3.bin
# Filtered pages: image.bin.png, image2.bin.png
# (Images will point to *.bin.png, but will be named without the .bin. image.bin.png=image.png
# Images with the same base name will be grouped together, with the same order as described in the filter)
#imagefilter=<value>
# Enable/Disable OCR4all UI mode
# This setting allows displaying and/or hiding certain UI elements when LAREX is used in combination with
# OCR4all.
# enable: enable OCR4all UI mode
# disable: disable OCR4all UI mode [default]
# e.g. ocr4all:enable
#ocr4all=<value>
# Set Colors for DiffView and ConfidenceView in TextViewer mode
# This setting allows adjusting the colors for better contrast or better readability regarding color blindness.
# All valid CSS colors are accepted.
# e.g.:diff_insert_color=green
#
# Defaults: diff_insert_color=#58e123
# diff_delete_color=#e56123
# conf_above_color=#FFFFFF
# conf_below_color=#e56123
# conf_below_threshold2_color=#e5c223
#
#diff_insert_color=<value>
#diff_delete_color=<value>
#conf_above_color=<value>
#conf_below_color=<value>
#conf_below_threshold2_color=<value>