Go to the source code of this file.
|
int | main (int argc, char **argv) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 42 of file combine_lang_model.cpp.
51 tesseract::CheckSharedLibraryVersion();
61 if (!unicharset.
load_from_file(FLAGS_input_unicharset.c_str(),
false)) {
62 tprintf(
"Failed to load unicharset from %s\n",
63 FLAGS_input_unicharset.c_str());
66 tprintf(
"Loaded unicharset of size %d from file %s\n", unicharset.
size(),
67 FLAGS_input_unicharset.c_str());
70 tprintf(
"Setting unichar properties\n");
73 tprintf(
"Setting script properties\n");
77 unicharset, FLAGS_script_dir.c_str(), FLAGS_version_str.c_str(),
78 FLAGS_output_dir.c_str(), FLAGS_lang.c_str(), FLAGS_pass_through_recoder,
79 words, puncs, numbers, FLAGS_lang_is_rtl,
nullptr,