Skip to content

Commit

Permalink
Move class tesseract::File from training to ccutil
Browse files Browse the repository at this point in the history
This allows using the class for unittests, too.

Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Aug 25, 2018
1 parent f5705da commit 7a2f8d9
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
4 changes: 3 additions & 1 deletion src/ccutil/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ pkginclude_HEADERS = \

noinst_HEADERS = \
ambigs.h basedir.h bits16.h bitvector.h ccutil.h clst.h doubleptr.h elst2.h \
elst.h errcode.h fileerr.h genericheap.h globaloc.h \
elst.h errcode.h fileerr.h fileio.h \
genericheap.h globaloc.h \
indexmapbidi.h kdpair.h lsterr.h \
object_cache.h params.h qrsequence.h sorthelper.h \
scanutils.h tessdatamanager.h tprintf.h \
Expand All @@ -31,6 +32,7 @@ libtesseract_ccutil_la_SOURCES = \
ambigs.cpp basedir.cpp bitvector.cpp \
ccutil.cpp clst.cpp \
elst2.cpp elst.cpp errcode.cpp \
fileio.cpp \
globaloc.cpp indexmapbidi.cpp \
mainblk.cpp \
serialis.cpp strngs.cpp scanutils.cpp \
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 0 additions & 2 deletions src/training/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,6 @@ endif()
########################################

set(unicharset_training_src
fileio.cpp
fileio.h
icuerrorcode.h
lang_model_helpers.cpp
lang_model_helpers.h
Expand Down
2 changes: 0 additions & 2 deletions src/training/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ noinst_HEADERS = \
commandlineflags.h \
commontraining.h \
degradeimage.h \
fileio.h \
icuerrorcode.h \
lang_model_helpers.h \
ligature_table.h \
Expand Down Expand Up @@ -66,7 +65,6 @@ libtesseract_training_la_SOURCES = \
commandlineflags.cpp \
commontraining.cpp \
degradeimage.cpp \
fileio.cpp \
lang_model_helpers.cpp \
ligature_table.cpp \
lstmtester.cpp \
Expand Down

0 comments on commit 7a2f8d9

Please sign in to comment.