tesseract/training
Stefan Weil 023e1b340e Use POSIX data types and macros (#878)
* api: Replace Tesseract data types by POSIX data types

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* ccmain: Replace Tesseract data types by POSIX data types

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* ccstruct: Replace Tesseract data types by POSIX data types

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* classify: Replace Tesseract data types by POSIX data types

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* cutil: Replace Tesseract data types by POSIX data types

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* dict: Replace Tesseract data types by POSIX data types

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* textord: Replace Tesseract data types by POSIX data types

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* training: Replace Tesseract data types by POSIX data types

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* wordrec: Replace Tesseract data types by POSIX data types

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* ccutil: Replace Tesseract data types by POSIX data types

Now all Tesseract data types which are no longer needed can be removed
from ccutil/host.h.

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* ccmain: Replace Tesseract's MIN_*INT, MAX_*INT* by POSIX *INT*_MIN, *INT*_MAX

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* ccstruct: Replace Tesseract's MIN_*INT, MAX_*INT* by POSIX *INT*_MIN, *INT*_MAX

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* classify: Replace Tesseract's MIN_*INT, MAX_*INT* by POSIX *INT*_MIN, *INT*_MAX

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* dict: Replace Tesseract's MIN_*INT, MAX_*INT* by POSIX *INT*_MIN, *INT*_MAX

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* lstm: Replace Tesseract's MIN_*INT, MAX_*INT* by POSIX *INT*_MIN, *INT*_MAX

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* textord: Replace Tesseract's MIN_*INT, MAX_*INT* by POSIX *INT*_MIN, *INT*_MAX

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* wordrec: Replace Tesseract's MIN_*INT, MAX_*INT* by POSIX *INT*_MIN, *INT*_MAX

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* ccutil: Replace Tesseract's MIN_*INT, MAX_*INT* by POSIX *INT*_MIN, *INT*_MAX

Remove the macros which are now unused from ccutil/host.h.
Remove also the obsolete history comments.

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* Fix build error caused by ambiguous ClipToRange

Error message vom Appveyor CI:

    C:\projects\tesseract\ccstruct\coutln.cpp(818): error C2672: 'ClipToRange': no matching overloaded function found [C:\projects\tesseract\build\libtesseract.vcxproj]
    C:\projects\tesseract\ccstruct\coutln.cpp(818): error C2782: 'T ClipToRange(const T &,const T &,const T &)': template parameter 'T' is ambiguous [C:\projects\tesseract\build\libtesseract.vcxproj]
      c:\projects\tesseract\ccutil\helpers.h(122): note: see declaration of 'ClipToRange'
      C:\projects\tesseract\ccstruct\coutln.cpp(818): note: could be 'char'
      C:\projects\tesseract\ccstruct\coutln.cpp(818): note: or       'int'

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* unittest: Replace Tesseract's MAX_INT8 by POSIX INT8_MAX

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* arch: Replace Tesseract's MAX_INT8 by POSIX INT8_MAX

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-03-13 21:36:30 +01:00
..
ambiguous_words.cpp clang-tidy changes from sync 2017-01-25 16:20:19 -08:00
boxchar.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
boxchar.h Remove old code for string class (no longer needed) (#1354) 2018-03-03 14:36:28 +01:00
classifier_tester.cpp Removed unnecessary using statements and cleaned up google/non-google distinction 2017-07-19 16:42:48 -07:00
CMakeLists.txt Fix windows build. 2017-09-09 21:25:25 +03:00
cntraining.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
combine_lang_model.cpp Part 2 of separating out the unicharset from the LSTM model, fixing command line for training 2017-08-02 13:29:23 -07:00
combine_tessdata.cpp Fixed lack of error on non-existent traineddata 2017-08-07 09:58:43 -07:00
commandlineflags.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
commandlineflags.h Removed unnecessary using statements and cleaned up google/non-google distinction 2017-07-19 16:42:48 -07:00
commontraining.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
commontraining.h Merge pull request #569 from stweil/nullptr 2016-12-15 09:05:20 +01:00
dawg2wordlist.cpp Added extra Init that takes a memory buffer or a filereader function pointer to enable read of traineddata from memory or foreign file systems. Updated existing readers to use TFile API instead of FILE. This does not yet add big-endian capability to LSTM, but it is very easy from here. 2017-04-27 15:48:23 -07:00
degradeimage.cpp More formatting fixes from clang tidy 2017-04-28 13:38:32 -07:00
degradeimage.h training: Replace NULL by nullptr 2016-12-14 21:08:36 +01:00
fileio.cpp Remove old code for string class (no longer needed) (#1354) 2018-03-03 14:36:28 +01:00
fileio.h Remove old code for string class (no longer needed) (#1354) 2018-03-03 14:36:28 +01:00
icuerrorcode.h Major refactor of beam search, elimination of dead code, misc bug fixes, updates to Makefile.am, Changelog etc. 2013-09-23 15:26:50 +00:00
lang_model_helpers.cpp Remove old code for string class (no longer needed) (#1354) 2018-03-03 14:36:28 +01:00
lang_model_helpers.h Remove old code for string class (no longer needed) (#1354) 2018-03-03 14:36:28 +01:00
language-specific.sh gle_uncial (#1342) 2018-02-22 17:20:31 +01:00
ligature_table.cpp Remove old code for string class (no longer needed) (#1354) 2018-03-03 14:36:28 +01:00
ligature_table.h Remove old code for string class (no longer needed) (#1354) 2018-03-03 14:36:28 +01:00
lstmeval.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
lstmtester.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
lstmtester.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
lstmtraining.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
Makefile.am Remove macro USE_STD_NAMESPACE (#1360) 2018-03-04 14:43:28 +01:00
merge_unicharsets.cpp Added new LSTM-based neural network line recognizer 2016-11-07 15:38:07 -08:00
mergenf.cpp Fix building of training tools in shared configuration. 2016-12-17 16:19:35 +03:00
mergenf.h clang-tidy changes from sync 2017-01-25 16:20:19 -08:00
mftraining.cpp clang-tidy changes from sync 2017-01-25 16:20:19 -08:00
normstrngs.cpp Remove old code for string class (no longer needed) (#1354) 2018-03-03 14:36:28 +01:00
normstrngs.h Remove old code for string class (no longer needed) (#1354) 2018-03-03 14:36:28 +01:00
pango_font_info.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
pango_font_info.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
set_unicharset_properties.cpp Added missing license headers 2016-11-18 15:53:11 -08:00
shapeclustering.cpp Removed unnecessary using statements and cleaned up google/non-google distinction 2017-07-19 16:42:48 -07:00
stringrenderer.cpp Remove old code for string class (no longer needed) (#1354) 2018-03-03 14:36:28 +01:00
stringrenderer.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
tessopt.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
tessopt.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
tesstrain_utils.sh Rewrote unicharset_extractor to use the new string normalizer and read plain text as well as box files. 2017-09-08 11:49:57 +01:00
tesstrain.sh Part 2 of separating out the unicharset from the LSTM model, fixing command line for training 2017-08-02 13:29:23 -07:00
text2image.cpp Remove old code for string class (no longer needed) (#1354) 2018-03-03 14:36:28 +01:00
tlog.cpp New training tool text2image 2014-01-09 18:04:20 +00:00
tlog.h tlog: Remove unused macro TLOG_FATAL 2016-08-29 19:11:01 +02:00
unicharset_extractor.cpp Remove old code for string class (no longer needed) (#1354) 2018-03-03 14:36:28 +01:00
unicharset_training_utils.cpp Remove old code for string class (no longer needed) (#1354) 2018-03-03 14:36:28 +01:00
unicharset_training_utils.h Remove old code for string class (no longer needed) (#1354) 2018-03-03 14:36:28 +01:00
util.h Remove macro USE_STD_NAMESPACE (#1360) 2018-03-04 14:43:28 +01:00
validate_grapheme.cpp training: Fix typos in comments (found by codespell) 2017-09-03 09:16:02 +02:00
validate_grapheme.h Added script-specific validation and normalization for virama-using scripts and updated normalization for others 2017-07-14 10:05:05 -07:00
validate_indic.cpp Added script-specific validation and normalization for virama-using scripts and updated normalization for others 2017-07-14 10:05:05 -07:00
validate_indic.h Added script-specific validation and normalization for virama-using scripts and updated normalization for others 2017-07-14 10:05:05 -07:00
validate_khmer.cpp Added script-specific validation and normalization for virama-using scripts and updated normalization for others 2017-07-14 10:05:05 -07:00
validate_khmer.h Added script-specific validation and normalization for virama-using scripts and updated normalization for others 2017-07-14 10:05:05 -07:00
validate_myanmar.cpp Added script-specific validation and normalization for virama-using scripts and updated normalization for others 2017-07-14 10:05:05 -07:00
validate_myanmar.h Added script-specific validation and normalization for virama-using scripts and updated normalization for others 2017-07-14 10:05:05 -07:00
validator.cpp fixed missing include for std::back_inserter. 2017-11-23 11:37:35 +03:30
validator.h Added script-specific validation and normalization for virama-using scripts and updated normalization for others 2017-07-14 10:05:05 -07:00
wordlist2dawg.cpp Remove unused include statements for freelist.h 2017-05-01 17:12:43 +02:00