-
Notifications
You must be signed in to change notification settings - Fork 4
/
.jconfig
executable file
·124 lines (111 loc) · 5.03 KB
/
.jconfig
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%% FILE: .jconfig
%%
%% DESCRIPTION: Sample configuration file to be distributed with jtag
%% application.
%%
%% CVS: $Id: .jconfig,v 1.13 2005-12-22 15:49:58 scottl Exp $
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% H E A D E R I N F O %
%%%%%%%%%%%%%%%%%%%%%%%%
% B O D Y I N F O %
%%%%%%%%%%%%%%%%%%%%
% config_style
% 'global' means these settings will be used for all files opened.
% 'per_file' means each jtag file's config settings will be loaded.
config_style = global
% mode:
% Set the default selection mode. Valid choices are 'crop' or
% 'simple'. Crop allows the user to create a bounding box with the mouse,
% whereas simple only allows the user to select vertical boundaries by
% clicking with the mouse (horizontal boundaries are the image width
% boundaries)
%mode = simple
mode = crop
% window_size:
% Set the default size of the window containing the application. Must be a
% value of the form <width> <height> where each <width> and <height> are
% replaced with positive numerical values specifying the number of pixels for
% the width and height respectively.
window_size = 900 900
% window_pos:
% Set the default initial position (top left corner) of the window containing
% the application. Must be a value of the form <left> <top> where
% each of the two arguments are numerical integers specifying the number of
% pixels to move in from the left, top respectively edges before placing the
% window on the screen
window_pos = 0 0
% canvas_size:
% Set the default size of the canvas upon which the image will be displayed.
% Must be a value of the form <width> <height> where each <width> and <height>
% are replaced with positive numerical values specifying the number of pixels
% for the width and height respectively. These values should be smaller than
% those specified in the window_size
canvas_size = 620 825
% bucket_size:
% Set the default size of each classification bucket displayed around the
% canvas. These are initial guidelines only, and the application will
% automatically expand them to fit in the available space (if there is room
% for them).
bucket_size = 50 50
% snap_threshold:
% Sets the required percentage of non-background pixels that must be found
% when scanning a single line of a selection rectangle to prohibit it from
% being passed over when snapping it to text. This value must lie in the
% range [0...100] and can take on fractions if neccessary
snap_threshold = 0.001
% learner:
% The name of the learning algorithm to be used during automatic "prediction"
% by the application. See the matlab/README file for more information on
% available learners.
% learner = knn_fn
learner = lr_fn
% learner = memm_fn
% learner_args:
% Any additional arguments that the learning algorithm expects to be passed to
% perform classification. Note that the learner will require a list of class
% names as its second argument. This is generated automatically by the JTAG
% application from the list of classes below, so it should *not* be specified
% as an argument. Each argument you do specify should be separated by
% whitespace. For more information see the matlab file associated with the
% learner specified above and the matlab/README file.
%learner_args = './matlab/results/withmarks/marks-jmlr-train.lr.mat'
learner_args = './matlab/results/withmarks/marks-nips-train.lr.mat'
% classes:
% List of possible classification types based on the component of the journal
% that they represent. Each item will contain a string specifying its name
% and a string giving its colour (symbolic equivalent of the 8-bit RGB
% values). Each classifier will be separted by whitespace/newlines, and the
% component name and colour can not contain any spaces.
classes = (
abstract #FF0000
authour_list #FFE600
bullet_item #33FF00
code_block #00FFB3
decoration #0066FF
editor_list #8000FF
equation #DC0000
eq_number #A37C90
figure #1983F2
figure_caption #2CDC00
figure_label #00DC9A
footer #0058DC
footnote #6E00DC
graph #DC0084
header #B80000
image #B8A500
main_title #00B881
pg_number #0049B8
references #5C00B8
section_heading #B8006E
subsection_heading #940000
table #948500
table_label #1D9400
table_caption #009467
text #003B94
% the following 2 classes will not actually appear as buckets
start_of_page #00FF00
end_of_page #0000FF
)