@@ -44,8 +44,6 @@ using tesseract::TFile;
44
44
* @param ClassId class id to associate with new class
45
45
*
46
46
* @note Globals: none
47
- * @note Exceptions: none
48
- * @note History: Thu Mar 14 13:06:09 1991, DSJ, Created.
49
47
*/
50
48
void AddAdaptedClass (ADAPT_TEMPLATES Templates,
51
49
ADAPT_CLASS Class,
@@ -75,8 +73,6 @@ void AddAdaptedClass(ADAPT_TEMPLATES Templates,
75
73
* @param Config config to be freed
76
74
*
77
75
* @note Globals: none
78
- * @note Exceptions: none
79
- * @note History: Thu Mar 14 13:34:23 1991, DSJ, Created.
80
76
*/
81
77
void FreeTempConfig (TEMP_CONFIG Config) {
82
78
assert (Config != nullptr );
@@ -105,8 +101,6 @@ void FreePermConfig(PERM_CONFIG Config) {
105
101
* @return Ptr to new class data structure.
106
102
*
107
103
* @note Globals: none
108
- * @note Exceptions: none
109
- * @note History: Thu Mar 14 12:58:13 1991, DSJ, Created.
110
104
*/
111
105
ADAPT_CLASS NewAdaptedClass () {
112
106
ADAPT_CLASS Class;
@@ -156,8 +150,6 @@ namespace tesseract {
156
150
* @return Ptr to new adapted templates.
157
151
*
158
152
* @note Globals: none
159
- * @note Exceptions: none
160
- * @note History: Fri Mar 8 10:15:28 1991, DSJ, Created.
161
153
*/
162
154
ADAPT_TEMPLATES Classify::NewAdaptedTemplates (bool InitFromUnicharset) {
163
155
ADAPT_TEMPLATES Templates;
@@ -210,8 +202,6 @@ void free_adapted_templates(ADAPT_TEMPLATES templates) {
210
202
* @return Ptr to new temp config.
211
203
*
212
204
* @note Globals: none
213
- * @note Exceptions: none
214
- * @note History: Thu Mar 14 13:28:21 1991, DSJ, Created.
215
205
*/
216
206
TEMP_CONFIG NewTempConfig (int MaxProtoId, int FontinfoId) {
217
207
int NumProtos = MaxProtoId + 1 ;
@@ -237,8 +227,6 @@ TEMP_CONFIG NewTempConfig(int MaxProtoId, int FontinfoId) {
237
227
* @return Ptr to new temporary proto.
238
228
*
239
229
* @note Globals: none
240
- * @note Exceptions: none
241
- * @note History: Thu Mar 14 13:31:31 1991, DSJ, Created.
242
230
*/
243
231
TEMP_PROTO NewTempProto () {
244
232
return (TEMP_PROTO)malloc (sizeof (TEMP_PROTO_STRUCT));
@@ -255,8 +243,6 @@ namespace tesseract {
255
243
* @param Templates adapted templates to print to File
256
244
*
257
245
* @note Globals: none
258
- * @note Exceptions: none
259
- * @note History: Wed Mar 20 13:35:29 1991, DSJ, Created.
260
246
*/
261
247
void Classify::PrintAdaptedTemplates (FILE *File, ADAPT_TEMPLATES Templates) {
262
248
INT_CLASS IClass;
@@ -294,8 +280,6 @@ void Classify::PrintAdaptedTemplates(FILE *File, ADAPT_TEMPLATES Templates) {
294
280
* @return Ptr to new adapted class.
295
281
*
296
282
* @note Globals: none
297
- * @note Exceptions: none
298
- * @note History: Tue Mar 19 14:11:01 1991, DSJ, Created.
299
283
*/
300
284
ADAPT_CLASS ReadAdaptedClass (TFile *fp) {
301
285
int NumTempProtos;
@@ -347,8 +331,6 @@ namespace tesseract {
347
331
* @return Ptr to adapted templates read from file.
348
332
*
349
333
* @note Globals: none
350
- * @note Exceptions: none
351
- * @note History: Mon Mar 18 15:18:10 1991, DSJ, Created.
352
334
*/
353
335
ADAPT_TEMPLATES Classify::ReadAdaptedTemplates (TFile *fp) {
354
336
ADAPT_TEMPLATES Templates;
@@ -379,8 +361,6 @@ ADAPT_TEMPLATES Classify::ReadAdaptedTemplates(TFile *fp) {
379
361
* @return Ptr to new permanent configuration description.
380
362
*
381
363
* @note Globals: none
382
- * @note Exceptions: none
383
- * @note History: Tue Mar 19 14:25:26 1991, DSJ, Created.
384
364
*/
385
365
PERM_CONFIG ReadPermConfig (TFile *fp) {
386
366
PERM_CONFIG Config = (PERM_CONFIG)malloc (sizeof (PERM_CONFIG_STRUCT));
@@ -405,8 +385,6 @@ PERM_CONFIG ReadPermConfig(TFile *fp) {
405
385
* @return Ptr to new temporary configuration description.
406
386
*
407
387
* @note Globals: none
408
- * @note Exceptions: none
409
- * @note History: Tue Mar 19 14:29:59 1991, DSJ, Created.
410
388
*/
411
389
TEMP_CONFIG ReadTempConfig (TFile *fp) {
412
390
TEMP_CONFIG Config = (TEMP_CONFIG)malloc (sizeof (TEMP_CONFIG_STRUCT));
@@ -430,8 +408,6 @@ TEMP_CONFIG ReadTempConfig(TFile *fp) {
430
408
* @param NumConfigs number of configs in Class
431
409
*
432
410
* @note Globals: none
433
- * @note Exceptions: none
434
- * @note History: Tue Mar 19 13:33:51 1991, DSJ, Created.
435
411
*/
436
412
void WriteAdaptedClass (FILE *File, ADAPT_CLASS Class, int NumConfigs) {
437
413
int NumTempProtos;
@@ -476,8 +452,6 @@ namespace tesseract {
476
452
* @param Templates set of adapted templates to write to File
477
453
*
478
454
* @note Globals: none
479
- * @note Exceptions: none
480
- * @note History: Mon Mar 18 15:07:32 1991, DSJ, Created.
481
455
*/
482
456
void Classify::WriteAdaptedTemplates (FILE *File, ADAPT_TEMPLATES Templates) {
483
457
int i;
@@ -506,8 +480,6 @@ void Classify::WriteAdaptedTemplates(FILE *File, ADAPT_TEMPLATES Templates) {
506
480
* @param Config permanent config to write to File
507
481
*
508
482
* @note Globals: none
509
- * @note Exceptions: none
510
- * @note History: Tue Mar 19 13:55:44 1991, DSJ, Created.
511
483
*/
512
484
void WritePermConfig (FILE *File, PERM_CONFIG Config) {
513
485
uint8_t NumAmbigs = 0 ;
@@ -530,8 +502,6 @@ void WritePermConfig(FILE *File, PERM_CONFIG Config) {
530
502
* @param Config temporary config to write to File
531
503
*
532
504
* @note Globals: none
533
- * @note Exceptions: none
534
- * @note History: Tue Mar 19 14:00:28 1991, DSJ, Created.
535
505
*/
536
506
void WriteTempConfig (FILE *File, TEMP_CONFIG Config) {
537
507
assert (Config != nullptr );
0 commit comments