diff --git a/src/ccutil/tessdatamanager.cpp b/src/ccutil/tessdatamanager.cpp index 7b6a7267..8ab26506 100644 --- a/src/ccutil/tessdatamanager.cpp +++ b/src/ccutil/tessdatamanager.cpp @@ -211,11 +211,11 @@ void TessdataManager::Clear() { // Prints a directory of contents. void TessdataManager::Directory() const { - tprintf("Version:%s\n", VersionString().c_str()); + printf("Version:%s\n", VersionString().c_str()); auto offset = TESSDATA_NUM_ENTRIES * sizeof(int64_t); for (unsigned i = 0; i < TESSDATA_NUM_ENTRIES; ++i) { if (!entries_[i].empty()) { - tprintf("%u:%s:size=%zu, offset=%zu\n", i, kTessdataFileSuffixes[i], entries_[i].size(), + printf("%u:%s:size=%zu, offset=%zu\n", i, kTessdataFileSuffixes[i], entries_[i].size(), offset); offset += entries_[i].size(); } diff --git a/src/training/combine_tessdata.cpp b/src/training/combine_tessdata.cpp index 6cbe3abc..6c452f76 100644 --- a/src/training/combine_tessdata.cpp +++ b/src/training/combine_tessdata.cpp @@ -265,6 +265,9 @@ int main(int argc, char **argv) { "Usage for listing directory of components:\n" " %s -d traineddata_file\n\n", argv[0]); + printf( + "NOTE: Above two flags may combined as -dl or -ld to get both outputs" + ); printf( "Usage for compacting LSTM component to int:\n" " %s -c traineddata_file\n",