code
stringlengths
1
2.06M
language
stringclasses
1 value
/********************************************************************** * File: blobbox.h (Formerly blobnbox.h) * Description: Code for the textord blob class. * Author: Ray Smith * Created: Thu Jul 30 09:08:51 BST 1992 * * (C) Copyright 1992, Hewlett-Packard Ltd. ** Licensed under the Apache Lic...
C++
/********************************************************************** * File: polyblk.h (Formerly poly_block.h) * Description: Polygonal blocks * Author: Sheelagh Lloyd? * Created: * * (C) Copyright 1993, Hewlett-Packard Ltd. ** Licensed under the Apache License, Version 2.0 (the "License"); ** yo...
C++
/////////////////////////////////////////////////////////////////////// // File: imagedata.h // Description: Class to hold information about a single image and its // corresponding boxes or text file. // Author: Ray Smith // Created: Mon Jul 22 14:17:06 PDT 2013 // // (C) Copyright 2013, Go...
C++
/********************************************************************** * File: statistc.h (Formerly stats.h) * Description: Class description for STATS class. * Author: Ray Smith * Created: Mon Feb 04 16:19:07 GMT 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apache Lic...
C++
/********************************************************************** * File: coutln.c (Formerly: coutline.c) * Description: Code for the C_OUTLINE class. * Author: Ray Smith * Created: Mon Oct 07 16:01:57 BST 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apache Lic...
C++
/********************************************************************** * File: werd.cpp (Formerly word.c) * Description: Code for the WERD class. * Author: Ray Smith * Created: Tue Oct 08 14:32:12 BST 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apache License, Versio...
C++
/********************************************************************** * File: quadlsq.h (Formerly qlsq.h) * Description: Code for least squares approximation of quadratics. * Author: Ray Smith * Created: Wed Oct 6 15:14:23 BST 1993 * * (C) Copyright 1993, Hewlett-Packard Ltd. ** Licensed under the A...
C++
/////////////////////////////////////////////////////////////////////// // File: fontinfo.h // Description: Font information classes abstracted from intproto.h/cpp. // Author: rays@google.com (Ray Smith) // Created: Tue May 17 17:08:01 PDT 2011 // // (C) Copyright 2011, Google Inc. // Licensed under the...
C++
/********************************************************************** * File: quadratc.h (Formerly quadrtic.h) * Description: Code for the QUAD_COEFFS class. * Author: Ray Smith * Created: Tue Oct 08 17:24:40 BST 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apache License, ...
C++
/********************************************************************** * File: pageres.h (Formerly page_res.h) * Description: Results classes used by control.c * Author: Phil Cheatle * Created: Tue Sep 22 08:42:49 BST 1992 * * (C) Copyright 1992, Hewlett-Packard Ltd. ** Licensed under the Apache Li...
C++
/********************************************************************** * File: ocrrow.h (Formerly row.h) * Description: Code for the ROW class. * Author: Ray Smith * Created: Tue Oct 08 15:58:04 BST 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apache License, Version ...
C++
/********************************************************************** * File: pageres.cpp (Formerly page_res.c) * Description: Results classes used by control.c * Author: Phil Cheatle * Created: Tue Sep 22 08:42:49 BST 1992 * * (C) Copyright 1992, Hewlett-Packard Ltd. ** Licensed under the Apache ...
C++
/********************************************************************** * File: statistc.c (Formerly stats.c) * Description: Simple statistical package for integer values. * Author: Ray Smith * Created: Mon Feb 04 16:56:05 GMT 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under th...
C++
/********************************************************************** * File: rejctmap.h (Formerly rejmap.h) * Description: REJ and REJMAP class functions. * Author: Phil Cheatle * Created: Thu Jun 9 13:46:38 BST 1994 * * (C) Copyright 1994, Hewlett-Packard Ltd. ** Licensed under the Apache License,...
C++
/********************************************************************** * File: ratngs.cpp (Formerly ratings.c) * Description: Code to manipulate the BLOB_CHOICE and WERD_CHOICE classes. * Author: Ray Smith * Created: Thu Apr 23 13:23:29 BST 1992 * * (C) Copyright 1992, Hewlett-Packard Ltd. ** Licensed under th...
C++
/********************************************************************** * File: rect.h (Formerly box.h) * Description: Bounding box class definition. * Author: Phil Cheatle * Created: Wed Oct 16 15:18:45 BST 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apache License, V...
C++
/********************************************************************** * File: pdblock.h (Formerly pdblk.h) * Description: Page block class definition. * Author: Ray Smith * Created: Thu Mar 14 17:32:01 GMT 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apache License, ...
C++
/********************************************************************** * File: normalis.h (Formerly denorm.h) * Description: Code for the DENORM class. * Author: Ray Smith * Created: Thu Apr 23 09:22:43 BST 1992 * * (C) Copyright 1992, Hewlett-Packard Ltd. ** Licensed under the Apache License, ...
C++
///////////////////////////////////////////////////////////////////// // File: ocrpara.h // Description: OCR Paragraph Output Type // Author: David Eger // Created: 2010-11-15 // // (C) Copyright 2010, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this...
C++
/********************************************************************** * File: crakedge.h (Formerly: crkedge.h) * Description: Sturctures for the Crack following edge detector. * Author: Ray Smith * Created: Fri Mar 22 16:06:38 GMT 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed ...
C++
/********************************************************************** * File: mod128.h (Formerly dir128.h) * Description: Header for class which implements modulo arithmetic. * Author: Ray Smith * Created: Tue Mar 26 17:48:13 GMT 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed und...
C++
/////////////////////////////////////////////////////////////////////// // File: fontinfo.cpp // Description: Font information classes abstracted from intproto.h/cpp. // Author: rays@google.com (Ray Smith) // Created: Wed May 18 10:39:01 PDT 2011 // // (C) Copyright 2011, Google Inc. // Licensed under t...
C++
/********************************************************************** * File: rect.c (Formerly box.c) * Description: Bounding box class definition. * Author: Phil Cheatle * Created: Wed Oct 16 15:18:45 BST 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apache License, V...
C++
/////////////////////////////////////////////////////////////////////// // File: blamer.cpp // Description: Module allowing precise error causes to be allocated. // Author: Rike Antonova // Refactored: Ray Smith // Created: Mon Feb 04 14:37:01 PST 2013 // // (C) Copyright 2013, Google Inc. // Licensed ...
C++
/////////////////////////////////////////////////////////////////////// // File: detlinefit.cpp // Description: Deterministic least median squares line fitting. // Author: Ray Smith // Created: Thu Feb 28 14:45:01 PDT 2008 // // (C) Copyright 2008, Google Inc. // Licensed under the Apache License, Versi...
C++
/********************************************************************** * File: genblob.cpp (Formerly gblob.c) * Description: Generic Blob processing routines * Author: Phil Cheatle * Created: Mon Nov 25 10:53:26 GMT 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apache ...
C++
/********************************************************************** * File: mod128.c (Formerly dir128.c) * Description: Code to convert a DIR128 to an ICOORD. * Author: Ray Smith * Created: Tue Oct 22 11:56:09 BST 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apache ...
C++
/////////////////////////////////////////////////////////////////////// // File: params_training_featdef.h // Description: Feature definitions for params training. // Author: Rika Antonova // Created: Mon Nov 28 11:26:42 PDT 2011 // // (C) Copyright 2011, Google Inc. // Licensed under the Apache License...
C++
/////////////////////////////////////////////////////////////////////// // File: ccstruct.h // Description: ccstruct class. // Author: Samuel Charron // // (C) Copyright 2006, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance wit...
C++
/********************************************************************** * File: boxread.cpp * Description: Read data from a box file. * Author: Ray Smith * Created: Fri Aug 24 17:47:23 PDT 2007 * * (C) Copyright 2007, Google Inc. ** Licensed under the Apache License, Version 2.0 (the "License"); ** you...
C++
/********************************************************************** * File: ocrblock.h (Formerly block.h) * Description: Page block class definition. * Author: Ray Smith * Created: Thu Mar 14 17:32:01 GMT 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apache License, Versio...
C++
/********************************************************************** * File: normalis.cpp (Formerly denorm.c) * Description: Code for the DENORM class. * Author: Ray Smith * Created: Thu Apr 23 09:22:43 BST 1992 * * (C) Copyright 1992, Hewlett-Packard Ltd. ** Licensed under the Apache License...
C++
/********************************************************************** * File: ocrblock.cpp (Formerly block.c) * Description: BLOCK member functions and iterator functions. * Author: Ray Smith * Created: Fri Mar 15 09:41:28 GMT 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Ap...
C++
/********************************************************************** * File: rejctmap.cpp (Formerly rejmap.c) * Description: REJ and REJMAP class functions. * Author: Phil Cheatle * Created: Thu Jun 9 13:46:38 BST 1994 * * (C) Copyright 1994, Hewlett-Packard Ltd. ** Licensed under the Apache Licens...
C++
/********************************************************************** * File: points.c (Formerly coords.c) * Description: Member functions for coordinate classes. * Author: Ray Smith * Created: Fri Mar 15 08:58:17 GMT 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apach...
C++
/////////////////////////////////////////////////////////////////////// // File: boxword.h // Description: Class to represent the bounding boxes of the output. // Author: Ray Smith // Created: Tue May 25 14:18:14 PDT 2010 // // (C) Copyright 2010, Google Inc. // Licensed under the Apache License, Versio...
C++
/////////////////////////////////////////////////////////////////////// // File: params_training_featdef.cpp // Description: Utility functions for params training features. // Author: David Eger // Created: Mon Jun 11 11:26:42 PDT 2012 // // (C) Copyright 2012, Google Inc. // Licensed under the Apache L...
C++
/////////////////////////////////////////////////////////////////////// // File: detlinefit.h // Description: Deterministic least upper-quartile squares line fitting. // Author: Ray Smith // Created: Thu Feb 28 14:35:01 PDT 2008 // // (C) Copyright 2008, Google Inc. // Licensed under the Apache License,...
C++
/********************************************************************** * File: dppoint.h * Description: Simple generic dynamic programming class. * Author: Ray Smith * Created: Wed Mar 25 18:57:01 PDT 2009 * * (C) Copyright 2009, Google Inc. ** Licensed under the Apache License, Version 2.0 (the...
C++
/********************************************************************** * File: coutln.c (Formerly coutline.c) * Description: Code for the C_OUTLINE class. * Author: Ray Smith * Created: Mon Oct 07 16:01:57 BST 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed...
C++
/********************************************************************** * File: word.c * Description: Code for the WERD class. * Author: Ray Smith * Created: Tue Oct 08 14:32:12 BST 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apache License, Version 2.0 (the "License"); ** you ma...
C++
/********************************************************************** * File: otsuthr.cpp * Description: Simple Otsu thresholding for binarizing images. * Author: Ray Smith * Created: Fri Mar 07 12:31:01 PST 2008 * * (C) Copyright 2008, Google Inc. ** Licensed under the Apache License, Version ...
C++
/********************************************************************** * File: points.h (Formerly coords.h) * Description: Coordinate class definitions. * Author: Ray Smith * Created: Fri Mar 15 08:32:45 GMT 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apache License,...
C++
/********************************************************************** * File: linlsq.cpp (Formerly llsq.c) * Description: Linear Least squares fitting code. * Author: Ray Smith * Created: Thu Sep 12 08:44:51 BST 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apache License, V...
C++
/********************************************************************** * File: polyblk.c (Formerly poly_block.c) * Description: Polygonal blocks * Author: Sheelagh Lloyd? * Created: * * (C) Copyright 1993, Hewlett-Packard Ltd. ** Licensed under the Apache License, Version 2.0 (the "License"); ** yo...
C++
/********************************************************************** * File: polyaprx.cpp (Formerly polygon.c) * Description: Code for polygonal approximation from old edgeprog. * Author: Ray Smith * Created: Thu Nov 25 11:42:04 GMT 1993 * * (C) Copyright 1993, Hewlett-Packard Ltd. ** License...
C++
/********************************************************************** * File: quadlsq.cpp (Formerly qlsq.c) * Description: Code for least squares approximation of quadratics. * Author: Ray Smith * Created: Wed Oct 6 15:14:23 BST 1993 * * (C) Copyright 1993, Hewlett-Packard Ltd. ** Licensed under the...
C++
/********************************************************************** * File: ratngs.h (Formerly ratings.h) * Description: Definition of the WERD_CHOICE and BLOB_CHOICE classes. * Author: Ray Smith * Created: Thu Apr 23 11:40:38 BST 1992 * * (C) Copyright 1992, Hewlett-Packard Ltd. ** Licensed...
C++
/********************************************************************** * File: ocrrow.cpp (Formerly row.c) * Description: Code for the ROW class. * Author: Ray Smith * Created: Tue Oct 08 15:58:04 BST 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apache License, Version...
C++
/********************************************************************** * File: stepblob.cpp (Formerly cblob.c) * Description: Code for C_BLOB class. * Author: Ray Smith * Created: Tue Oct 08 10:41:13 BST 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apache License, Version 2....
C++
/////////////////////////////////////////////////////////////////////// // File: ccstruct.cpp // Description: ccstruct class. // Author: Samuel Charron // // (C) Copyright 2006, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance w...
C++
/********************************************************************** * File: stepblob.h (Formerly cblob.h) * Description: Code for C_BLOB class. * Author: Ray Smith * Created: Tue Oct 08 10:41:13 BST 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apache License, Version 2.0 ...
C++
/********************************************************************** * File: dppoint.cpp * Description: Simple generic dynamic programming class. * Author: Ray Smith * Created: Wed Mar 25 19:08:01 PDT 2009 * * (C) Copyright 2009, Google Inc. ** Licensed under the Apache License, Version 2.0 (t...
C++
/////////////////////////////////////////////////////////////////////// // File: otsuthr.h // Description: Simple Otsu thresholding for binarizing images. // Author: Ray Smith // Created: Fri Mar 07 12:14:01 PST 2008 // // (C) Copyright 2008, Google Inc. // Licensed under the Apache License, Version 2.0...
C++
/////////////////////////////////////////////////////////////////////// // File: boxword.h // Description: Class to represent the bounding boxes of the output. // Author: Ray Smith // Created: Tue May 25 14:18:14 PDT 2010 // // (C) Copyright 2010, Google Inc. // Licensed under the Apache License, Versio...
C++
/********************************************************************** * File: quspline.h (Formerly qspline.h) * Description: Code for the QSPLINE class. * Author: Ray Smith * Created: Tue Oct 08 17:16:12 BST 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apache License, Versi...
C++
///////////////////////////////////////////////////////////////////// // File: ocrpara.h // Description: OCR Paragraph Output Type // Author: David Eger // Created: 2010-11-15 // // (C) Copyright 2010, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this...
C++
/********************************************************************** * File: quspline.cpp (Formerly qspline.c) * Description: Code for the QSPLINE class. * Author: Ray Smith * Created: Tue Oct 08 17:16:12 BST 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apache License, Versi...
C++
/********************************************************************** * File: boxread.cpp * Description: Read data from a box file. * Author: Ray Smith * Created: Fri Aug 24 17:47:23 PDT 2007 * * (C) Copyright 2007, Google Inc. ** Licensed under the Apache License, Version 2.0 (the "License"); ...
C++
/////////////////////////////////////////////////////////////////////// // File: imagedata.h // Description: Class to hold information about a single multi-page tiff // training file and its corresponding boxes or text file. // Author: Ray Smith // Created: Tue May 28 08:56:06 PST 2013 // /...
C++
/********************************************************************** * File: blobbox.cpp (Formerly blobnbox.c) * Description: Code for the textord blob class. * Author: Ray Smith * Created: Thu Jul 30 09:08:51 BST 1992 * * (C) Copyright 1992, Hewlett-Packard Ltd. ** Licensed under the Apache L...
C++
/////////////////////////////////////////////////////////////////////// // File: blamer.h // Description: Module allowing precise error causes to be allocated. // Author: Rike Antonova // Refactored: Ray Smith // Created: Mon Feb 04 14:37:01 PST 2013 // // (C) Copyright 2013, Google Inc. // Licensed un...
C++
/********************************************************************** * File: elst2.h (Formerly elist2.h) * Description: Double linked embedded list module include file. * Author: Phil Cheatle * Created: Wed Jan 23 11:04:47 GMT 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed unde...
C++
// Copyright 2008 Google Inc. All Rights Reserved. // Author: scharron@google.com (Samuel Charron) #include "ccutil.h" namespace tesseract { CCUtil::CCUtil() : params_(), STRING_INIT_MEMBER(m_data_sub_dir, "tessdata/", "Directory for data files", &params_), #ifdef _WIN32 STRING_INIT_MEMBER(...
C++
/********************************************************************** * File: mainblk.c (Formerly main.c) * Description: Function to call from main() to setup. * Author: Ray Smith * Created: Tue Oct 22 11:09:40 BST 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apache L...
C++
// Copyright 2011 Google Inc. All Rights Reserved. // Author: rays@google.com (Ray Smith) /////////////////////////////////////////////////////////////////////// // File: bitvector.h // Description: Class replacement for BITVECTOR. // Author: Ray Smith // Created: Mon Jan 10 17:44:01 PST 2011 // // (C) ...
C++
/////////////////////////////////////////////////////////////////////// // File: unichar.h // Description: Unicode character/ligature class. // Author: Ray Smith // Created: Wed Jun 28 17:05:01 PDT 2006 // // (C) Copyright 2006, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License...
C++
/////////////////////////////////////////////////////////////////////// // File: unicharmap.cpp // Description: Unicode character/ligature to integer id class. // Author: Thomas Kielbus // Created: Wed Jun 28 17:05:01 PDT 2006 // // (C) Copyright 2006, Google Inc. // Licensed under the Apache License, V...
C++
/********************************************************************** * File: hashfn.h (Formerly hash.h) * Description: Portability hacks for hash_map, hash_set and unique_ptr. * Author: Ray Smith * Created: Wed Jan 08 14:08:25 PST 2014 * * (C) Copyright 2014, Google Inc. ** Licensed under the...
C++
/********************************************************************** * File: strngs.h (Formerly strings.h) * Description: STRING class definition. * Author: Ray Smith * Created: Fri Feb 15 09:15:01 GMT 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apache License, Vers...
C++
/////////////////////////////////////////////////////////////////////// // File: tessdatamanager.cpp // Description: Functions to handle loading/combining tesseract data files. // Author: Daria Antonova // Created: Wed Jun 03 11:26:43 PST 2009 // // (C) Copyright 2009, Google Inc. // Licensed under the ...
C++
/////////////////////////////////////////////////////////////////////// // File: indexmapbidi.h // Description: Bi-directional mapping between a sparse and compact space. // Author: rays@google.com (Ray Smith) // Created: Tue Apr 06 11:33:59 PDT 2010 // // (C) Copyright 2010, Google Inc. // Licensed und...
C++
/////////////////////////////////////////////////////////////////////// // File: universalambigs.h // Description: Data for a universal ambigs file that is useful for // any language. // Author: Ray Smith // Created: Mon Mar 18 11:26:00 PDT 2013 // // (C) Copyright 2013, Google Inc. // Lice...
C++
/********************************************************************** * File: tprintf.c * Description: Trace version of printf - portable between UX and NT * Author: Phil Cheatle * Created: Wed Jun 28 15:01:15 BST 1995 * * (C) Copyright 1995, Hewlett-Packard Ltd. ** Licensed under the Apache Li...
C++
/********************************************************************** * File: errcode.c (Formerly error.c) * Description: Generic error handler function * Author: Ray Smith * Created: Tue May 1 16:28:39 BST 1990 * * (C) Copyright 1989, Hewlett-Packard Ltd. ** Licensed under the Apache License...
C++
/********************************************************************** * File: elst.c (Formerly elist.c) * Description: Embedded list handling code which is not in the include file. * Author: Phil Cheatle * Created: Fri Jan 04 13:55:49 GMT 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Li...
C++
/********************************************************************** * File: ocrclass.h * Description: Class definitions and constants for the OCR API. * Author: Hewlett-Packard Co * * (C) Copyright 1996, Hewlett-Packard Co. ** Licensed under the Apache License, Version 2.0 (the "License"); ** you ...
C++
/********************************************************************** * File: params.h * Description: Class definitions of the *_VAR classes for tunable constants. * Author: Ray Smith * Created: Fri Feb 22 11:26:25 GMT 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apac...
C++
/********************************************************************** * File: unicodes.h * Description: Unicode related machinery * Author: David Eger * Created: Wed Jun 15 16:37:50 PST 2011 * * (C) Copyright 2011, Google, Inc. ** Licensed under the Apache License, Version 2.0 (the "License"); ...
C++
// Copyright 2012 Google Inc. All Rights Reserved. // Author: rays@google.com (Ray Smith) /////////////////////////////////////////////////////////////////////// // File: doubleptr.h // Description: Double-ended pointer that keeps pointing correctly even // when reallocated or copied. // Author: ...
C++
/////////////////////////////////////////////////////////////////////// // File: tesscallback.h // Description: classes and functions to replace pointer-to-functions // Author: Samuel Charron // // (C) Copyright 2006, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may ...
C++
// Copyright 2012 Google Inc. All Rights Reserved. // Author: rays@google.com (Ray Smith) /////////////////////////////////////////////////////////////////////// // File: genericheap.h // Description: Template heap class. // Author: Ray Smith, based on Dan Johnson's original code. // Created: Wed Mar 14...
C++
/////////////////////////////////////////////////////////////////////// // File: indexmapbidi.cpp // Description: Bi-directional mapping between a sparse and compact space. // Author: rays@google.com (Ray Smith) // Created: Tue Apr 06 11:33:59 PDT 2010 // // (C) Copyright 2010, Google Inc. // Licensed u...
C++
/********************************************************************** * File: errcode.c (Formerly error.c) * Description: Generic error handler function * Author: Ray Smith * Created: Tue May 1 16:28:39 BST 1990 * * (C) Copyright 1989, Hewlett-Packard Ltd. ** Licensed under the Apache License...
C++
/********************************************************************** * File: params.cpp * Description: Initialization and setting of Tesseract parameters. * Author: Ray Smith * Created: Fri Feb 22 16:22:34 GMT 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apache Licen...
C++
/////////////////////////////////////////////////////////////////////// // File: ccutil.h // Description: ccutil class. // Author: Samuel Charron // // (C) Copyright 2006, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with th...
C++
/////////////////////////////////////////////////////////////////////// // File: object_cache.h // Description: A string indexed object cache. // Author: David Eger // Created: Fri Jan 27 12:08:00 PST 2012 // // (C) Copyright 2012, Google Inc. // Licensed under the Apache License, Version 2.0 (the "Lice...
C++
/////////////////////////////////////////////////////////////////////// // File: tessdatamanager.h // Description: Functions to handle loading/combining tesseract data files. // Author: Daria Antonova // Created: Wed Jun 03 11:26:43 PST 2009 // // (C) Copyright 2009, Google Inc. // Licensed under the Ap...
C++
/********************************************************************** * File: serialis.h (Formerly serialmac.h) * Description: Inline routines and macros for serialisation functions * Author: Phil Cheatle * Created: Tue Oct 08 08:33:12 BST 1991 * * (C) Copyright 1990, Hewlett-Packard Ltd. ** L...
C++
/********************************************************************** * File: errcode.h (Formerly error.h) * Description: Header file for generic error handler class * Author: Ray Smith * Created: Tue May 1 16:23:36 BST 1990 * * (C) Copyright 1990, Hewlett-Packard Ltd. ** Licensed under the A...
C++
/////////////////////////////////////////////////////////////////////// // File: universalambigs.cpp // Description: Data for a universal ambigs file that is useful for // any language. // Author: Ray Smith // Created: Mon Mar 18 11:26:00 PDT 2013 // // (C) Copyright 2013, Google Inc. // Li...
C++
/////////////////////////////////////////////////////////////////////// // File: unicharset.h // Description: Unicode character/ligature set class. // Author: Thomas Kielbus // Created: Wed Jun 28 17:05:01 PDT 2006 // // (C) Copyright 2006, Google Inc. // Licensed under the Apache License, Version 2.0 (...
C++
/****************************************************************************** ** Filename: Host.h ** Purpose: This is the system independent typedefs and defines ** Author: MN, JG, MD ** Version: 5.4.1 ** History: 11/7/94 MCD received the modification that Lennart made **...
C++
/********************************************************************** * File: clst.h (Formerly clist.h) * Description: CONS cell list module include file. * Author: Phil Cheatle * Created: Mon Jan 28 08:33:13 GMT 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apache Li...
C++
/********************************************************************** * File: serialis.h (Formerly serialmac.h) * Description: Inline routines and macros for serialisation functions * Author: Phil Cheatle * Created: Tue Oct 08 08:33:12 BST 1991 * * (C) Copyright 1990, Hewlett-Packard Ltd. ** L...
C++
/////////////////////////////////////////////////////////////////////// // File: UnicityTable.h // Description: a class to uniquify objects, manipulating them using integers // ids. // Author: Samuel Charron // // (C) Copyright 2006, Google Inc. // Licensed under the Apache License, Version 2.0 (the "Licens...
C++
// Copyright 2011 Google Inc. All Rights Reserved. // Author: rays@google.com (Ray Smith) /////////////////////////////////////////////////////////////////////// // File: bitvector.cpp // Description: Class replacement for BITVECTOR. // Author: Ray Smith // Created: Mon Jan 10 17:45:01 PST 2011 // // (C...
C++
// Copyright 2006 Google Inc. // All Rights Reserved. // Author: renn // // The fscanf, vfscanf and creat functions are implemented so that their // functionality is mostly like their stdio counterparts. However, currently // these functions do not use any buffering, making them rather slow. // File streams are thus pr...
C++
/////////////////////////////////////////////////////////////////////// // File: unicharset.cpp // Description: Unicode character/ligature set class. // Author: Thomas Kielbus // Created: Wed Jun 28 17:05:01 PDT 2006 // // (C) Copyright 2006, Google Inc. // Licensed under the Apache License, Version 2.0...
C++
/////////////////////////////////////////////////////////////////////// // File: ambigs.cc // Description: Functions for dealing with ambiguities // (training and recognition). // Author: Daria Antonova // Created: Mon Feb 5 11:26:43 PDT 2009 // // (C) Copyright 2008, Google Inc. // License...
C++