File tree 6 files changed +12
-54
lines changed
6 files changed +12
-54
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ noinst_HEADERS += \
25
25
chopper.h \
26
26
drawfx.h \
27
27
findseam.h \
28
- gradechop.h \
29
28
language_model.h \
30
29
lm_consistency.h \
31
30
lm_pain_points.h \
Original file line number Diff line number Diff line change 26
26
I n c l u d e s
27
27
----------------------------------------------------------------------*/
28
28
#include "findseam.h"
29
- #include "gradechop.h"
30
29
#include "plotedges.h"
31
30
#include "outlines.h"
32
31
#include "seam.h"
37
36
#include "config_auto.h"
38
37
#endif
39
38
39
+ /**********************************************************************
40
+ * partial_split_priority
41
+ *
42
+ * Assign a priority to this split based on the features that it has.
43
+ * Grade it according to the different rating schemes and return the
44
+ * value of its goodness.
45
+ **********************************************************************/
46
+
47
+ #define partial_split_priority (split ) \
48
+ (grade_split_length(split) + grade_sharpness(split))
49
+
40
50
/*----------------------------------------------------------------------
41
51
T y p e s
42
52
----------------------------------------------------------------------*/
Original file line number Diff line number Diff line change 25
25
/*----------------------------------------------------------------------
26
26
I n c l u d e s
27
27
----------------------------------------------------------------------*/
28
- #include "gradechop.h"
28
+
29
29
#include "wordrec.h"
30
30
#include "chop.h"
31
31
#include <algorithm>
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 21
21
#include " chop.h"
22
22
#include " chopper.h"
23
23
#include " globals.h"
24
- #include " gradechop.h"
25
24
#include " pageres.h"
26
25
#include " wordrec.h"
27
26
#include " featdefs.h"
Original file line number Diff line number Diff line change @@ -93,7 +93,6 @@ class Wordrec : public Classify {
93
93
#include " language_model.h"
94
94
#include " ratngs.h"
95
95
#include " matrix.h"
96
- #include " gradechop.h"
97
96
#include " seam.h"
98
97
#include " findseam.h"
99
98
#include " callcpp.h"
You can’t perform that action at this time.
0 commit comments