mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-18 14:41:36 +08:00
Traineddata for non-Eng languages
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@540 d0cd1f9f-072b-0410-8dd7-cf729c803f20
This commit is contained in:
parent
5c854e03ea
commit
dbcab0eed3
@ -15,53 +15,6 @@
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
datadir = @datadir@/tessdata
|
||||
|
||||
data_DATA = eng.cube.bigrams \
|
||||
eng.cube.lm \
|
||||
eng.cube.params \
|
||||
eng.cube.word-freq \
|
||||
eng.traineddata \
|
||||
eng.cube.fold \
|
||||
eng.cube.nn \
|
||||
eng.cube.size \
|
||||
eng.tesseract_cube.nn
|
||||
|
||||
#data_DATA = bul.traineddata \
|
||||
# cat.traineddata \
|
||||
# ces.traineddata \
|
||||
# chi_sim.traineddata \
|
||||
# chi_tra.traineddata \
|
||||
# dan.traineddata \
|
||||
# dan-frak.traineddata \
|
||||
# deu.traineddata \
|
||||
# ell.traineddata \
|
||||
# eng.traineddata \
|
||||
# fin.traineddata \
|
||||
# fra.traineddata \
|
||||
# hun.traineddata \
|
||||
# ind.traineddata \
|
||||
# ita.traineddata \
|
||||
# jpn.traineddata \
|
||||
# kor.traineddata \
|
||||
# lav.traineddata \
|
||||
# lit.traineddata \
|
||||
# nld.traineddata \
|
||||
# nor.traineddata \
|
||||
# pol.traineddata \
|
||||
# por.traineddata \
|
||||
# ron.traineddata \
|
||||
# rus.traineddata \
|
||||
# slk.traineddata \
|
||||
# slv.traineddata \
|
||||
# spa.traineddata \
|
||||
# srp.traineddata \
|
||||
# swe.traineddata \
|
||||
# tgl.traineddata \
|
||||
# tha.traineddata \
|
||||
# tur.traineddata \
|
||||
# ukr.traineddata \
|
||||
# vie.traineddata
|
||||
VPATH = @srcdir@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
@ -101,6 +54,29 @@ RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
||||
install-pdf-recursive install-ps-recursive install-recursive \
|
||||
installcheck-recursive installdirs-recursive pdf-recursive \
|
||||
ps-recursive uninstall-recursive
|
||||
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
||||
am__vpath_adj = case $$p in \
|
||||
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
*) f=$$p;; \
|
||||
esac;
|
||||
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
|
||||
am__install_max = 40
|
||||
am__nobase_strip_setup = \
|
||||
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
|
||||
am__nobase_strip = \
|
||||
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
|
||||
am__nobase_list = $(am__nobase_strip_setup); \
|
||||
for p in $$list; do echo "$$p $$p"; done | \
|
||||
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
|
||||
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
|
||||
if (++n[$$2] == $(am__install_max)) \
|
||||
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
|
||||
END { for (dir in files) print dir, files[dir] }'
|
||||
am__base_list = \
|
||||
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
||||
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
||||
am__installdirs = "$(DESTDIR)$(datadir)"
|
||||
DATA = $(data_DATA)
|
||||
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
||||
distclean-recursive maintainer-clean-recursive
|
||||
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
|
||||
@ -228,7 +204,7 @@ build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
datadir = @datadir@
|
||||
datadir = @datadir@/tessdata
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
@ -262,6 +238,52 @@ target_alias = @target_alias@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
data_DATA = eng.cube.bigrams \
|
||||
eng.cube.lm \
|
||||
eng.cube.params \
|
||||
eng.cube.word-freq \
|
||||
eng.traineddata \
|
||||
eng.cube.fold \
|
||||
eng.cube.nn \
|
||||
eng.cube.size \
|
||||
eng.tesseract_cube.nn
|
||||
|
||||
|
||||
#data_DATA = bul.traineddata \
|
||||
# cat.traineddata \
|
||||
# ces.traineddata \
|
||||
# chi_sim.traineddata \
|
||||
# chi_tra.traineddata \
|
||||
# dan.traineddata \
|
||||
# dan-frak.traineddata \
|
||||
# deu.traineddata \
|
||||
# ell.traineddata \
|
||||
# eng.traineddata \
|
||||
# fin.traineddata \
|
||||
# fra.traineddata \
|
||||
# hun.traineddata \
|
||||
# ind.traineddata \
|
||||
# ita.traineddata \
|
||||
# jpn.traineddata \
|
||||
# kor.traineddata \
|
||||
# lav.traineddata \
|
||||
# lit.traineddata \
|
||||
# nld.traineddata \
|
||||
# nor.traineddata \
|
||||
# pol.traineddata \
|
||||
# por.traineddata \
|
||||
# ron.traineddata \
|
||||
# rus.traineddata \
|
||||
# slk.traineddata \
|
||||
# slv.traineddata \
|
||||
# spa.traineddata \
|
||||
# srp.traineddata \
|
||||
# swe.traineddata \
|
||||
# tgl.traineddata \
|
||||
# tha.traineddata \
|
||||
# tur.traineddata \
|
||||
# ukr.traineddata \
|
||||
# vie.traineddata
|
||||
SUBDIRS = configs tessconfigs
|
||||
all: all-recursive
|
||||
|
||||
@ -302,6 +324,26 @@ mostlyclean-libtool:
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
install-dataDATA: $(data_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(datadir)" || $(MKDIR_P) "$(DESTDIR)$(datadir)"
|
||||
@list='$(data_DATA)'; test -n "$(datadir)" || list=; \
|
||||
for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
echo "$$d$$p"; \
|
||||
done | $(am__base_list) | \
|
||||
while read files; do \
|
||||
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(datadir)'"; \
|
||||
$(INSTALL_DATA) $$files "$(DESTDIR)$(datadir)" || exit $$?; \
|
||||
done
|
||||
|
||||
uninstall-dataDATA:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(data_DATA)'; test -n "$(datadir)" || list=; \
|
||||
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
|
||||
test -n "$$files" || exit 0; \
|
||||
echo " ( cd '$(DESTDIR)$(datadir)' && rm -f" $$files ")"; \
|
||||
cd "$(DESTDIR)$(datadir)" && rm -f $$files
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run `make' without going through this Makefile.
|
||||
@ -498,9 +540,12 @@ distdir: $(DISTFILES)
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-recursive
|
||||
all-am: Makefile
|
||||
all-am: Makefile $(DATA)
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
for dir in "$(DESTDIR)$(datadir)"; do \
|
||||
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
||||
done
|
||||
install: install-recursive
|
||||
install-exec: install-exec-recursive
|
||||
install-data: install-data-recursive
|
||||
@ -546,7 +591,7 @@ info: info-recursive
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am:
|
||||
install-data-am: install-dataDATA
|
||||
|
||||
install-dvi: install-dvi-recursive
|
||||
|
||||
@ -590,7 +635,7 @@ ps: ps-recursive
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am:
|
||||
uninstall-am: uninstall-dataDATA
|
||||
|
||||
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
|
||||
install-am install-strip tags-recursive
|
||||
@ -600,14 +645,14 @@ uninstall-am:
|
||||
ctags ctags-recursive distclean distclean-generic \
|
||||
distclean-libtool distclean-tags distdir dvi dvi-am html \
|
||||
html-am info info-am install install-am install-data \
|
||||
install-data-am install-dvi install-dvi-am install-exec \
|
||||
install-exec-am install-html install-html-am install-info \
|
||||
install-info-am install-man install-pdf install-pdf-am \
|
||||
install-ps install-ps-am install-strip installcheck \
|
||||
installcheck-am installdirs installdirs-am maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-generic \
|
||||
mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
|
||||
uninstall uninstall-am
|
||||
install-data-am install-dataDATA install-dvi install-dvi-am \
|
||||
install-exec install-exec-am install-html install-html-am \
|
||||
install-info install-info-am install-man install-pdf \
|
||||
install-pdf-am install-ps install-ps-am install-strip \
|
||||
installcheck installcheck-am installdirs installdirs-am \
|
||||
maintainer-clean maintainer-clean-generic mostlyclean \
|
||||
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
||||
tags tags-recursive uninstall uninstall-am uninstall-dataDATA
|
||||
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
|
@ -104,21 +104,14 @@ GENERIC_LIBRARY_VERSION = @GENERIC_LIBRARY_VERSION@
|
||||
GENERIC_MAJOR_VERSION = @GENERIC_MAJOR_VERSION@
|
||||
GENERIC_RELEASE = @GENERIC_RELEASE@
|
||||
GENERIC_VERSION = @GENERIC_VERSION@
|
||||
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
|
||||
GMSGFMT = @GMSGFMT@
|
||||
GMSGFMT_015 = @GMSGFMT_015@
|
||||
GREP = @GREP@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INTLLIBS = @INTLLIBS@
|
||||
INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
|
||||
LD = @LD@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBICONV = @LIBICONV@
|
||||
LIBINTL = @LIBINTL@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTIFF_CFLAGS = @LIBTIFF_CFLAGS@
|
||||
@ -126,15 +119,10 @@ LIBTIFF_LIBS = @LIBTIFF_LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIPO = @LIPO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBICONV = @LTLIBICONV@
|
||||
LTLIBINTL = @LTLIBINTL@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAINT = @MAINT@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
MSGFMT = @MSGFMT@
|
||||
MSGFMT_015 = @MSGFMT_015@
|
||||
MSGMERGE = @MSGMERGE@
|
||||
NM = @NM@
|
||||
NMEDIT = @NMEDIT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
@ -151,17 +139,12 @@ PACKAGE_URL = @PACKAGE_URL@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PACKAGE_YEAR = @PACKAGE_YEAR@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
POSUB = @POSUB@
|
||||
RANLIB = @RANLIB@
|
||||
SED = @SED@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XGETTEXT_015 = @XGETTEXT_015@
|
||||
XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
|
Loading…
Reference in New Issue
Block a user