File tree 3 files changed +17
-1
lines changed
3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ class UNICHARSET {
151
151
static TESS_API const char * kCustomLigatures [][2 ];
152
152
153
153
// List of strings for the SpecialUnicharCodes. Keep in sync with the enum.
154
- static const char * kSpecialUnicharCodes [SPECIAL_UNICHAR_CODES_COUNT];
154
+ static TESS_API const char * kSpecialUnicharCodes [SPECIAL_UNICHAR_CODES_COUNT];
155
155
156
156
// ICU 2.0 UCharDirection enum (from third_party/icu/include/unicode/uchar.h)
157
157
enum Direction {
Original file line number Diff line number Diff line change @@ -180,6 +180,10 @@ projects:
180
180
files : training/classifier_tester.cpp
181
181
dependencies : common_training
182
182
183
+ combine_lang_model :
184
+ files : training/combine_lang_model.cpp
185
+ dependencies : unicharset_training
186
+
183
187
combine_tessdata :
184
188
files : training/combine_tessdata.cpp
185
189
dependencies : libtesseract
@@ -216,6 +220,7 @@ projects:
216
220
files :
217
221
- training/fileio.*
218
222
- training/icuerrorcode.h
223
+ - training/lang_model_helpers.*
219
224
- training/lstmtester.*
220
225
- training/normstrngs.*
221
226
- training/unicharset_training_utils.*
Original file line number Diff line number Diff line change @@ -177,6 +177,8 @@ set(unicharset_training_src
177
177
fileio.cpp
178
178
fileio.h
179
179
icuerrorcode.h
180
+ lang_model_helpers.cpp
181
+ lang_model_helpers.h
180
182
lstmtester.cpp
181
183
lstmtester.h
182
184
normstrngs.cpp
@@ -199,6 +201,15 @@ endif()
199
201
project_group (unicharset_training "Training Tools" )
200
202
201
203
204
+ ########################################
205
+ # EXECUTABLE combine_lang_model
206
+ ########################################
207
+
208
+ add_executable (combine_lang_model combine_lang_model.cpp)
209
+ target_link_libraries (combine_lang_model unicharset_training)
210
+ project_group (combine_lang_model "Training Tools" )
211
+
212
+
202
213
########################################
203
214
# EXECUTABLE lstmeval
204
215
########################################
You can’t perform that action at this time.
0 commit comments