diff --git a/ccstruct/rejctmap.cpp b/ccstruct/rejctmap.cpp index 9c9ff2e5..a2910675 100644 --- a/ccstruct/rejctmap.cpp +++ b/ccstruct/rejctmap.cpp @@ -267,7 +267,7 @@ void REJ::full_print(FILE *fp) { //The REJMAP class has been hacked to use alloc_struct instead of new []. //This is to reduce memory fragmentation only as it is rather kludgy. -//alloc_struct by-passes the call to the contsructor of REJ on each +//alloc_struct by-passes the call to the constructor of REJ on each //array element. Although the constructor is empty, the BITS16 members //do have a constructor which sets all the flags to 0. The memset //replaces this functionality. diff --git a/neural_networks/runtime/input_file_buffer.cpp b/neural_networks/runtime/input_file_buffer.cpp index 0d88bec3..2ab6d1b3 100644 --- a/neural_networks/runtime/input_file_buffer.cpp +++ b/neural_networks/runtime/input_file_buffer.cpp @@ -18,7 +18,7 @@ #include "input_file_buffer.h" namespace tesseract { -// default and only contsructor +// default and only constructor InputFileBuffer::InputFileBuffer(const string &file_name) : file_name_(file_name) { fp_ = NULL;