|
17 | 17 | *
|
18 | 18 | **********************************************************************/
|
19 | 19 |
|
20 |
| -#include <algorithm> |
21 |
| -#include <ctype.h> |
22 |
| -#include <memory> // std::unique_ptr |
23 |
| - |
24 |
| -#include "genericvector.h" |
25 |
| -#include "helpers.h" |
26 |
| -#include "mutableiterator.h" |
27 |
| -#include "ocrpara.h" |
28 |
| -#include "pageres.h" |
29 | 20 | #include "paragraphs.h"
|
30 |
| -#include "paragraphs_internal.h" |
31 |
| -#include "publictypes.h" |
32 |
| -#include "ratngs.h" |
33 |
| -#include "rect.h" |
34 |
| -#include "statistc.h" |
35 |
| -#include "strngs.h" |
36 |
| -#include "tprintf.h" |
37 |
| -#include "unicharset.h" |
38 |
| -#include "unicodes.h" |
| 21 | +#include <ctype.h> // for isspace |
| 22 | +#include <math.h> // for abs |
| 23 | +#include <stdio.h> // for snprintf |
| 24 | +#include <stdlib.h> // for abs |
| 25 | +#include <string.h> // for strchr, strlen |
| 26 | +#include <algorithm> // for max |
| 27 | +#include <memory> // for unique_ptr |
| 28 | +#include "genericvector.h" // for GenericVector, GenericVectorEqEq |
| 29 | +#include "helpers.h" // for UpdateRange, ClipToRange |
| 30 | +#include "host.h" // for NearlyEqual |
| 31 | +#include "mutableiterator.h" // for MutableIterator |
| 32 | +#include "ocrblock.h" // for BLOCK |
| 33 | +#include "ocrpara.h" // for ParagraphModel, PARA, PARA_IT, PARA... |
| 34 | +#include "ocrrow.h" // for ROW |
| 35 | +#include "pageiterator.h" // for PageIterator |
| 36 | +#include "pageres.h" // for PAGE_RES_IT, WERD_RES, ROW_RES, BLO... |
| 37 | +#include "paragraphs_internal.h" // for RowScratchRegisters, SetOfModels |
| 38 | +#include "pdblock.h" // for PDBLK |
| 39 | +#include "polyblk.h" // for POLY_BLOCK |
| 40 | +#include "publictypes.h" // for JUSTIFICATION_LEFT, JUSTIFICATION_R... |
| 41 | +#include "ratngs.h" // for WERD_CHOICE |
| 42 | +#include "rect.h" // for TBOX |
| 43 | +#include "statistc.h" // for STATS |
| 44 | +#include "strngs.h" // for STRING |
| 45 | +#include "tprintf.h" // for tprintf |
| 46 | +#include "unichar.h" // for UNICHAR, UNICHAR_ID |
| 47 | +#include "unicharset.h" // for UNICHARSET |
| 48 | +#include "unicodes.h" // for kPDF, kRLE |
| 49 | +#include "werd.h" // for WERD, W_REP_CHAR |
39 | 50 |
|
40 | 51 | namespace tesseract {
|
41 | 52 |
|
|
0 commit comments