22 "Directory name for input script unicharsets/xheights");
29 int main(
int argc,
char** argv) {
30 tesseract::CheckSharedLibraryVersion();
34 if (FLAGS_U.empty() || FLAGS_O.empty()) {
35 tprintf(
"Specify both input and output unicharsets!\n");
38 if (FLAGS_script_dir.empty()) {
39 tprintf(
"Must specify a script_dir!\n");
44 FLAGS_U.c_str(), FLAGS_O.c_str(),
STRING_PARAM_FLAG(script_dir, "", "Directory name for input script unicharsets/xheights")
int main(int argc, char **argv)
void ParseCommandLineFlags(const char *usage, int *argc, char ***argv, const bool remove_flags)
DLLSYM void tprintf(const char *format,...)
DECLARE_STRING_PARAM_FLAG(U)
void SetPropertiesForInputFile(const std::string &script_dir, const std::string &input_unicharset_file, const std::string &output_unicharset_file, const std::string &output_xheights_file)