@@ -39,13 +39,13 @@ class BLOCK:public ELIST_LINK
39
39
right_to_left_ = false ;
40
40
pdblk.hand_poly = nullptr ;
41
41
}
42
- BLOCK (const char *name, // < filename
43
- BOOL8 prop, // < proportional
44
- int16_t kern, // < kerning
45
- int16_t space, // < spacing
46
- int16_t xmin, // < bottom left
42
+ BLOCK (const char *name, // / < filename
43
+ BOOL8 prop, // / < proportional
44
+ int16_t kern, / / /< kerning
45
+ int16_t space, / / /< spacing
46
+ int16_t xmin, / / /< bottom left
47
47
int16_t ymin,
48
- int16_t xmax, // < top right
48
+ int16_t xmax, / / /< top right
49
49
int16_t ymax);
50
50
51
51
~BLOCK () = default ;
@@ -189,26 +189,26 @@ class BLOCK:public ELIST_LINK
189
189
void print (FILE* fp, bool dump);
190
190
191
191
BLOCK& operator =(const BLOCK & source);
192
- PDBLK pdblk; // < Page Description Block
192
+ PDBLK pdblk; // / < Page Description Block
193
193
194
194
private:
195
- BOOL8 proportional; // < proportional
196
- bool right_to_left_; // < major script is right to left.
197
- int8_t kerning; // < inter blob gap
198
- int16_t spacing; // < inter word gap
199
- int16_t pitch; // < pitch of non-props
200
- int16_t font_class; // < correct font class
201
- int32_t xheight; // < height of chars
202
- float cell_over_xheight_; // < Ratio of cell height to xheight.
203
- STRING filename; // < name of block
204
- ROW_LIST rows; // < rows in block
205
- PARA_LIST paras_; // < paragraphs of block
206
- C_BLOB_LIST c_blobs; // < before textord
207
- C_BLOB_LIST rej_blobs; // < duff stuff
208
- FCOORD re_rotation_; // < How to transform coords back to image.
209
- FCOORD classify_rotation_; // < Apply this before classifying.
210
- FCOORD skew_; // < Direction of true horizontal.
211
- ICOORD median_size_; // < Median size of blobs.
195
+ BOOL8 proportional; // / < proportional
196
+ bool right_to_left_; // / < major script is right to left.
197
+ int8_t kerning; / / /< inter blob gap
198
+ int16_t spacing; / / /< inter word gap
199
+ int16_t pitch; / / /< pitch of non-props
200
+ int16_t font_class; / / /< correct font class
201
+ int32_t xheight; / / /< height of chars
202
+ float cell_over_xheight_; // / < Ratio of cell height to xheight.
203
+ STRING filename; // / < name of block
204
+ ROW_LIST rows; // / < rows in block
205
+ PARA_LIST paras_; // / < paragraphs of block
206
+ C_BLOB_LIST c_blobs; // / < before textord
207
+ C_BLOB_LIST rej_blobs; // / < duff stuff
208
+ FCOORD re_rotation_; // / < How to transform coords back to image.
209
+ FCOORD classify_rotation_; // / < Apply this before classifying.
210
+ FCOORD skew_; // / < Direction of true horizontal.
211
+ ICOORD median_size_; // / < Median size of blobs.
212
212
};
213
213
214
214
// A function to print segmentation stats for the given block list.
0 commit comments