git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@463 d0cd1f9f-072b-0410-8dd7-cf729c803f20
This commit is contained in:
zdenop@gmail.com 2010-09-27 22:30:00 +00:00
parent 68baf257be
commit fd07d936a9

View File

@ -119,14 +119,20 @@ int main(int argc, char **argv) {
tm.End();
} else {
printf("Usage for combining tessdata components:\n"
"%s language_data_path_prefix (e.g. tessdata/eng.)\n", argv[0]);
printf("Usage for extracting tessdata components:\n"
"%s -e traineddata_file [output_component_file...]\n", argv[0]);
printf("Usage for overwriting tessdata components:\n"
"%s -o traineddata_file [input_component_file...]\n", argv[0]);
printf("Usage for unpacking all tessdata components:\n"
"%s -u traineddata_file output_path_prefix"
" (e.g. /tmp/eng.)\n", argv[0]);
" %s language_data_path_prefix\n"
" (e.g. %s tessdata/my_lang.)\n"
" Warning: Do not forget dot at the end of language_data_path_prefix!\n", argv[0], argv[0]);
printf("\nUsage for extracting tessdata components:\n"
" %s -e traineddata_file output_component_file\n"
" (e.g. %s -e tessdata/eng.traineddata eng.unicharambigs)\n", argv[0], argv[0]);
printf("\nUsage for overwriting tessdata components:\n"
" %s -o traineddata_file input_component_file\n"
" (e.g. %s -o tessdata/eng.traineddata eng.config)\n"
" Warning: (input_)component_file must already exists in traineddata_file!\n", argv[0], argv[0]);
printf("\nUsage for unpacking all tessdata components:\n"
" %s -u traineddata_file output_path_prefix\n"
" (e.g. %s -u tessdata/eng.traineddata /tmp/eng.)\n"
" Warning: Do not forget dot at the end of output_path_prefix!\n", argv[0], argv[0]);
return 1;
}
}