code stringlengths 1 1.05M | repo_name stringlengths 6 83 | path stringlengths 3 242 | language stringclasses 222
values | license stringclasses 20
values | size int64 1 1.05M |
|---|---|---|---|---|---|
/******************************************************************************
** Filename: float2int.h
** Purpose: Routines for converting float features to int features
** Author: Dan Johnson
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Version 2.0 (the "... | 2301_81045437/tesseract | src/classify/float2int.h | C | apache-2.0 | 1,258 |
/******************************************************************************
** Filename: fpoint.cpp
** Purpose: Abstract data type for a 2D point (floating point coords)
** Author: Dan Johnson
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Version 2.0 (the... | 2301_81045437/tesseract | src/classify/fpoint.cpp | C++ | apache-2.0 | 2,220 |
/******************************************************************************
** Filename: fpoint.h
** Purpose: Abstract data type for 2D points (floating point coords)
** Author: Dan Johnson
**
** (c) Copyright Hewlett-Packard Company, 1988.
** (c) Copyright Hewlett-Packard Company, 1988.
** Licen... | 2301_81045437/tesseract | src/classify/fpoint.h | C | apache-2.0 | 2,190 |
// Copyright 2010 Google Inc. All Rights Reserved.
// Author: rays@google.com (Ray Smith)
///////////////////////////////////////////////////////////////////////
// File: intfeaturespace.cpp
// Description: Indexed feature space based on INT_FEATURE_STRUCT.
//
// Licensed under the Apache License, Version 2.0 (t... | 2301_81045437/tesseract | src/classify/intfeaturespace.cpp | C++ | apache-2.0 | 4,645 |
// Copyright 2010 Google Inc. All Rights Reserved.
// Author: rays@google.com (Ray Smith)
///////////////////////////////////////////////////////////////////////
// File: intfeaturespace.h
// Description: Indexed feature space based on INT_FEATURE_STRUCT.
//
// Licensed under the Apache License, Version 2.0 (the... | 2301_81045437/tesseract | src/classify/intfeaturespace.h | C++ | apache-2.0 | 4,120 |
/******************************************************************************
** Filename: intfx.c
** Purpose: Integer character normalization & feature extraction
** Author: Robert Moss, rays@google.com (Ray Smith)
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache Lice... | 2301_81045437/tesseract | src/classify/intfx.cpp | C++ | apache-2.0 | 21,924 |
/******************************************************************************
** Filename: intfx.h
** Purpose: Interface to high level integer feature extractor.
** Author: Robert Moss
** History: Tue May 21 15:51:57 MDT 1991, RWM, Created.
**
** (c) Copyright Hewlett-Packard Company, 1988.... | 2301_81045437/tesseract | src/classify/intfx.h | C++ | apache-2.0 | 2,606 |
/******************************************************************************
** Filename: intmatcher.cpp
** Purpose: Generic high level classification routines.
** Author: Robert Moss
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Version 2.0 (the "License");
... | 2301_81045437/tesseract | src/classify/intmatcher.cpp | C++ | apache-2.0 | 46,087 |
/******************************************************************************
** Filename: intmatcher.h
** Purpose: Interface to high level generic classifier routines.
** Author: Robert Moss
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Version 2.0 (the "L... | 2301_81045437/tesseract | src/classify/intmatcher.h | C++ | apache-2.0 | 5,163 |
/******************************************************************************
** Filename: intproto.c
** Purpose: Definition of data structures for integer protos.
** Author: Dan Johnson
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Version 2.0 (the "Licens... | 2301_81045437/tesseract | src/classify/intproto.cpp | C++ | apache-2.0 | 58,549 |
/******************************************************************************
** Filename: intproto.h
** Purpose: Definition of data structures for integer protos.
** Author: Dan Johnson
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Version 2.0 (the "Licens... | 2301_81045437/tesseract | src/classify/intproto.h | C++ | apache-2.0 | 8,671 |
/******************************************************************************
** Filename: kdtree.cpp
** Purpose: Routines for managing K-D search trees
** Author: Dan Johnson
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Version 2.0 (the "License");
** you ... | 2301_81045437/tesseract | src/classify/kdtree.cpp | C++ | apache-2.0 | 16,410 |
/******************************************************************************
** Filename: kdtree.h
** Purpose: Definition of K-D tree access routines.
** Author: Dan Johnson
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Version 2.0 (the "License");
** you ma... | 2301_81045437/tesseract | src/classify/kdtree.h | C++ | apache-2.0 | 4,710 |
/******************************************************************************
** Filename: mf.c
** Purpose: Micro-feature interface to flexible feature extractor.
** Author: Dan Johnson
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Version 2.0 (the "License... | 2301_81045437/tesseract | src/classify/mf.cpp | C++ | apache-2.0 | 2,668 |
/******************************************************************************
** Filename: mf.h
** Purpose: Micro-feature interface to flexible feature extractor.
** Author: Dan Johnson
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Version 2.0 (the "License... | 2301_81045437/tesseract | src/classify/mf.h | C++ | apache-2.0 | 1,086 |
/******************************************************************************
** Filename: mfdefs.h
** Purpose: Definition of micro-features
** Author: Dan Johnson
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not us... | 2301_81045437/tesseract | src/classify/mfdefs.h | C++ | apache-2.0 | 1,286 |
/******************************************************************************
** Filename: mfoutline.c
** Purpose: Interface to outline struct used for extracting features
** Author: Dan Johnson
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Version 2.0 (the... | 2301_81045437/tesseract | src/classify/mfoutline.cpp | C++ | apache-2.0 | 13,884 |
/******************************************************************************
** Filename: mfoutline.h
** Purpose: Interface spec for fx outline structures
** Author: Dan Johnson
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Version 2.0 (the "License");
**... | 2301_81045437/tesseract | src/classify/mfoutline.h | C++ | apache-2.0 | 3,922 |
/******************************************************************************
** Filename: mfx.c
** Purpose: Micro feature extraction routines
** Author: Dan Johnson
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Version 2.0 (the "License");
** you... | 2301_81045437/tesseract | src/classify/mfx.cpp | C++ | apache-2.0 | 5,410 |
/******************************************************************************
** Filename: mfx.h
** Purpose: Definition of micro-feature extraction routines
** Author: Dan Johnson
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may... | 2301_81045437/tesseract | src/classify/mfx.h | C++ | apache-2.0 | 1,627 |
/******************************************************************************
** Filename: normfeat.c
** Purpose: Definition of char normalization features.
** Author: Dan Johnson
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Version 2.0 (the "License");
*... | 2301_81045437/tesseract | src/classify/normfeat.cpp | C++ | apache-2.0 | 2,669 |
/******************************************************************************
** Filename: normfeat.h
** Purpose: Definition of character normalization features.
** Author: Dan Johnson
** History: 12/14/90, DSJ, Created.
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the A... | 2301_81045437/tesseract | src/classify/normfeat.h | C++ | apache-2.0 | 1,322 |
/******************************************************************************
** Filename: normmatch.c
** Purpose: Simple matcher based on character normalization features.
** Author: Dan Johnson
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Version 2.0 (th... | 2301_81045437/tesseract | src/classify/normmatch.cpp | C++ | apache-2.0 | 7,788 |
/******************************************************************************
** Filename: normmatch.h
** Purpose: Simple matcher based on character normalization features.
** Author: Dan Johnson
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Version 2.0 (th... | 2301_81045437/tesseract | src/classify/normmatch.h | C++ | apache-2.0 | 1,236 |
/******************************************************************************
** Filename: ocrfeatures.cpp
** Purpose: Generic definition of a feature.
** Author: Dan Johnson
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Version 2.0 (the "License");
** you... | 2301_81045437/tesseract | src/classify/ocrfeatures.cpp | C++ | apache-2.0 | 5,113 |
/******************************************************************************
** Filename: features.h
** Purpose: Generic definition of a feature.
** Author: Dan Johnson
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may ... | 2301_81045437/tesseract | src/classify/ocrfeatures.h | C++ | apache-2.0 | 5,174 |
/******************************************************************************
** Filename: outfeat.c
** Purpose: Definition of outline-features.
** Author: Dan Johnson
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may no... | 2301_81045437/tesseract | src/classify/outfeat.cpp | C++ | apache-2.0 | 5,591 |
/******************************************************************************
** Filename: outfeat.h
** Purpose: Definition of outline features.
** Author: Dan Johnson
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may no... | 2301_81045437/tesseract | src/classify/outfeat.h | C++ | apache-2.0 | 1,585 |
/******************************************************************************
** Filename: picofeat.c
** Purpose: Definition of pico-features.
** Author: Dan Johnson
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not ... | 2301_81045437/tesseract | src/classify/picofeat.cpp | C++ | apache-2.0 | 9,006 |
/******************************************************************************
** Filename: picofeat.h
** Purpose: Definition of pico features.
** Author: Dan Johnson
** History: 9/4/90, DSJ, Created.
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Versio... | 2301_81045437/tesseract | src/classify/picofeat.h | C++ | apache-2.0 | 2,367 |
/******************************************************************************
*
* File: protos.cpp (Formerly protos.c)
* Author: Mark Seaman, OCR Technology
*
* (c) Copyright 1987, Hewlett-Packard Company.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this f... | 2301_81045437/tesseract | src/classify/protos.cpp | C++ | apache-2.0 | 5,035 |
/******************************************************************************
*
* File: protos.h
* Author: Mark Seaman, SW Productivity
*
* (c) Copyright 1987, Hewlett-Packard Company.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compli... | 2301_81045437/tesseract | src/classify/protos.h | C++ | apache-2.0 | 2,468 |
// Copyright 2011 Google Inc. All Rights Reserved.
// Author: rays@google.com (Ray Smith)
///////////////////////////////////////////////////////////////////////
// File: shapeclassifier.cpp
// Description: Base interface class for classifiers that return a
// shape index.
// Author: Ray Smith
... | 2301_81045437/tesseract | src/classify/shapeclassifier.cpp | C++ | apache-2.0 | 9,082 |
///////////////////////////////////////////////////////////////////////
// File: shapeclassifier.h
// Description: Base interface class for classifiers that return a
// shape index.
// Author: Ray Smith
//
// (C) Copyright 2011, Google Inc.
// Licensed under the Apache License, Version 2.0 (the... | 2301_81045437/tesseract | src/classify/shapeclassifier.h | C++ | apache-2.0 | 5,412 |
// Copyright 2010 Google Inc. All Rights Reserved.
// Author: rays@google.com (Ray Smith)
///////////////////////////////////////////////////////////////////////
// File: shapetable.cpp
// Description: Class to map a classifier shape index to unicharset
// indices and font indices.
// Author: R... | 2301_81045437/tesseract | src/classify/shapetable.cpp | C++ | apache-2.0 | 25,430 |
// Copyright 2010 Google Inc. All Rights Reserved.
// Author: rays@google.com (Ray Smith)
///////////////////////////////////////////////////////////////////////
// File: shapetable.h
// Description: Class to map a classifier shape index to unicharset
// indices and font indices.
// Author: Ray... | 2301_81045437/tesseract | src/classify/shapetable.h | C++ | apache-2.0 | 16,053 |
///////////////////////////////////////////////////////////////////////
// File: tessclassifier.cpp
// Description: Tesseract implementation of a ShapeClassifier.
// Author: Ray Smith
//
// (C) Copyright 2011, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use ... | 2301_81045437/tesseract | src/classify/tessclassifier.cpp | C++ | apache-2.0 | 3,659 |
// Copyright 2011 Google Inc. All Rights Reserved.
// Author: rays@google.com (Ray Smith)
///////////////////////////////////////////////////////////////////////
// File: tessclassifier.h
// Description: Tesseract implementation of a ShapeClassifier.
// Author: Ray Smith
//
// (C) Copyright 2011, Google Inc... | 2301_81045437/tesseract | src/classify/tessclassifier.h | C++ | apache-2.0 | 3,068 |
// Copyright 2010 Google Inc. All Rights Reserved.
// Author: rays@google.com (Ray Smith)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// ... | 2301_81045437/tesseract | src/classify/trainingsample.cpp | C++ | apache-2.0 | 13,503 |
// Copyright 2010 Google Inc. All Rights Reserved.
// Author: rays@google.com (Ray Smith)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// ... | 2301_81045437/tesseract | src/classify/trainingsample.h | C++ | apache-2.0 | 8,605 |
/******************************************************************************
** Filename: bitvec.h
** Purpose: Routines for manipulating bit vectors
** Author: Dan Johnson
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Version 2.0 (the "License"... | 2301_81045437/tesseract | src/cutil/bitvec.h | C++ | apache-2.0 | 2,934 |
/******************************************************************************
#
# File: oldlist.cpp
# Description: List processing procedures.
# Author: Mark Seaman, Software Productivity
#
# (c) Copyright 1987, Hewlett-Packard Company.
** Licensed under the Apache License, Version 2.0 (the "License");... | 2301_81045437/tesseract | src/cutil/oldlist.cpp | C++ | apache-2.0 | 7,511 |
/******************************************************************************
*
* File: oldlist.h (Formerly list.h)
* Description: List processing procedures declarations.
* Author: Mark Seaman, SW Productivity
*
* (c) Copyright 1987, Hewlett-Packard Company.
** Licensed under the Apache Licens... | 2301_81045437/tesseract | src/cutil/oldlist.h | C++ | apache-2.0 | 4,827 |
/******************************************************************************
*
* File: context.cpp (Formerly context.c)
* Description: Context checking functions
* Author: Mark Seaman, OCR Technology
*
* (c) Copyright 1990, Hewlett-Packard Company.
** Licensed under the Apache License, Version... | 2301_81045437/tesseract | src/dict/context.cpp | C++ | apache-2.0 | 2,745 |
/********************************************************************************
*
* File: dawg.cpp (Formerly dawg.c)
* Description: Use a Directed Acyclic Word Graph
* Author: Mark Seaman, OCR Technology
*
* (c) Copyright 1987, Hewlett-Packard Company.
** Licensed under the Apache License, Vers... | 2301_81045437/tesseract | src/dict/dawg.cpp | C++ | apache-2.0 | 13,683 |
/******************************************************************************
*
* File: dawg.h
* Description: Definition of a class that represents Directed Acyclic Word
* Graph (DAWG), functions to build and manipulate the DAWG.
* Author: Mark Seaman, SW Productivity
*
* (c) Copyr... | 2301_81045437/tesseract | src/dict/dawg.h | C++ | apache-2.0 | 21,859 |
///////////////////////////////////////////////////////////////////////
// File: dawg_cache.cpp
// Description: A class that knows about loading and caching dawgs.
// Author: David Eger
//
// (C) Copyright 2012, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not us... | 2301_81045437/tesseract | src/dict/dawg_cache.cpp | C++ | apache-2.0 | 3,111 |
///////////////////////////////////////////////////////////////////////
// File: dawg_cache.h
// Description: A class that knows about loading and caching dawgs.
// Author: David Eger
// Created: Fri Jan 27 12:08:00 PST 2012
//
// (C) Copyright 2012, Google Inc.
// Licensed under the Apache License, Ver... | 2301_81045437/tesseract | src/dict/dawg_cache.h | C++ | apache-2.0 | 1,686 |
///////////////////////////////////////////////////////////////////////
// File: dict.cpp
// Description: dict 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 the ... | 2301_81045437/tesseract | src/dict/dict.cpp | C++ | apache-2.0 | 35,739 |
///////////////////////////////////////////////////////////////////////
// File: dict.h
// Description: dict 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 the Li... | 2301_81045437/tesseract | src/dict/dict.h | C++ | apache-2.0 | 25,686 |
/******************************************************************************
* File: hyphen.cpp (Formerly hyphen.c)
* Description: Functions for maintaining information about hyphenated words.
* Author: Mark Seaman, OCR Technology
* Status: Reusable Software Component
*
* (c) Copyright 19... | 2301_81045437/tesseract | src/dict/hyphen.cpp | C++ | apache-2.0 | 2,402 |
/******************************************************************************
** Filename: matchdefs.h
** Purpose: Generic interface definitions for feature matchers.
** Author: Dan Johnson
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Version 2.0 (the "Lic... | 2301_81045437/tesseract | src/dict/matchdefs.h | C++ | apache-2.0 | 1,842 |
/******************************************************************************
*
* File: permdawg.cpp (Formerly permdawg.c)
* Description: Scale word choices by a dictionary
* Author: Mark Seaman, OCR Technology
*
* (c) Copyright 1987, Hewlett-Packard Company.
** Licensed under the Apache Licens... | 2301_81045437/tesseract | src/dict/permdawg.cpp | C++ | apache-2.0 | 15,644 |
/******************************************************************************
** Filename: stopper.c
** Purpose: Stopping criteria for word classifier.
** Author: Dan Johnson
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Version 2.0 (the "License");
** you... | 2301_81045437/tesseract | src/dict/stopper.cpp | C++ | apache-2.0 | 20,118 |
/******************************************************************************
** Filename: stopper.h
** Purpose: Stopping criteria for word classifier.
** Author: Dan Johnson
**
** (c) Copyright Hewlett-Packard Company, 1988.
** Licensed under the Apache License, Version 2.0 (the "License");
** you... | 2301_81045437/tesseract | src/dict/stopper.h | C++ | apache-2.0 | 1,592 |
/******************************************************************************
*
* File: trie.cpp (Formerly trie.c)
* Description: Functions to build a trie data structure.
* Author: Mark Seaman, OCR Technology
*
* (c) Copyright 1987, Hewlett-Packard Company.
** Licensed under the Apache License... | 2301_81045437/tesseract | src/dict/trie.cpp | C++ | apache-2.0 | 26,865 |
/******************************************************************************
*
* File: trie.h
* Description: Functions to build a trie data structure.
* Author: Mark Seaman, SW Productivity
*
* (c) Copyright 1987, Hewlett-Packard Company.
** Licensed under the Apache License, Version 2.0 (the "Lic... | 2301_81045437/tesseract | src/dict/trie.h | C++ | apache-2.0 | 19,093 |
///////////////////////////////////////////////////////////////////////
// File: convolve.cpp
// Description: Convolutional layer that stacks the inputs over its rectangle
// and pulls in random data to fill out-of-input inputs.
// Output is therefore same size as its input, but deeper.... | 2301_81045437/tesseract | src/lstm/convolve.cpp | C++ | apache-2.0 | 4,394 |
///////////////////////////////////////////////////////////////////////
// File: convolve.h
// Description: Convolutional layer that stacks the inputs over its rectangle
// and pulls in random data to fill out-of-input inputs.
// Output is therefore same size as its input, but deeper.
/... | 2301_81045437/tesseract | src/lstm/convolve.h | C++ | apache-2.0 | 2,753 |
///////////////////////////////////////////////////////////////////////
// File: fullyconnected.cpp
// Description: Simple feed-forward layer with various non-linearities.
// Author: Ray Smith
//
// (C) Copyright 2014, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may... | 2301_81045437/tesseract | src/lstm/fullyconnected.cpp | C++ | apache-2.0 | 11,587 |
///////////////////////////////////////////////////////////////////////
// File: fullyconnected.h
// Description: Simple feed-forward layer with various non-linearities.
// Author: Ray Smith
//
// (C) Copyright 2014, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may n... | 2301_81045437/tesseract | src/lstm/fullyconnected.h | C++ | apache-2.0 | 5,721 |
///////////////////////////////////////////////////////////////////////
// File: functions.h
// Description: Collection of function-objects used by the network layers.
// Author: Ray Smith
//
// (C) Copyright 2014, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not... | 2301_81045437/tesseract | src/lstm/functions.h | C++ | apache-2.0 | 7,144 |
///////////////////////////////////////////////////////////////////////
// File: input.cpp
// Description: Input layer class for neural network implementations.
// Author: Ray Smith
//
// (C) Copyright 2014, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use th... | 2301_81045437/tesseract | src/lstm/input.cpp | C++ | apache-2.0 | 5,353 |
///////////////////////////////////////////////////////////////////////
// File: input.h
// Description: Input layer class for neural network implementations.
// Author: Ray Smith
//
// (C) Copyright 2014, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this... | 2301_81045437/tesseract | src/lstm/input.h | C++ | apache-2.0 | 4,550 |
///////////////////////////////////////////////////////////////////////
// File: lstm.cpp
// Description: Long-term-short-term-memory Recurrent neural network.
// Author: Ray Smith
//
// (C) Copyright 2013, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use thi... | 2301_81045437/tesseract | src/lstm/lstm.cpp | C++ | apache-2.0 | 28,145 |
///////////////////////////////////////////////////////////////////////
// File: lstm.h
// Description: Long-term-short-term-memory Recurrent neural network.
// Author: Ray Smith
//
// (C) Copyright 2013, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this ... | 2301_81045437/tesseract | src/lstm/lstm.h | C++ | apache-2.0 | 6,758 |
///////////////////////////////////////////////////////////////////////
// File: lstmrecognizer.cpp
// Description: Top-level line recognizer class for LSTM-based networks.
// Author: Ray Smith
//
// (C) Copyright 2013, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you ma... | 2301_81045437/tesseract | src/lstm/lstmrecognizer.cpp | C++ | apache-2.0 | 22,194 |
///////////////////////////////////////////////////////////////////////
// File: lstmrecognizer.h
// Description: Top-level line recognizer class for LSTM-based networks.
// Author: Ray Smith
//
// (C) Copyright 2013, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may ... | 2301_81045437/tesseract | src/lstm/lstmrecognizer.h | C++ | apache-2.0 | 14,378 |
///////////////////////////////////////////////////////////////////////
// File: maxpool.cpp
// Description: Standard Max-Pooling layer.
// Author: Ray Smith
//
// (C) Copyright 2014, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compli... | 2301_81045437/tesseract | src/lstm/maxpool.cpp | C++ | apache-2.0 | 3,013 |
///////////////////////////////////////////////////////////////////////
// File: maxpool.h
// Description: Standard Max-Pooling layer.
// Author: Ray Smith
//
// (C) Copyright 2014, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in complian... | 2301_81045437/tesseract | src/lstm/maxpool.h | C++ | apache-2.0 | 2,213 |
///////////////////////////////////////////////////////////////////////
// File: network.cpp
// Description: Base class for neural network implementations.
// Author: Ray Smith
//
// (C) Copyright 2013, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this fi... | 2301_81045437/tesseract | src/lstm/network.cpp | C++ | apache-2.0 | 11,612 |
///////////////////////////////////////////////////////////////////////
// File: network.h
// Description: Base class for neural network implementations.
// Author: Ray Smith
//
// (C) Copyright 2013, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file... | 2301_81045437/tesseract | src/lstm/network.h | C++ | apache-2.0 | 14,298 |
///////////////////////////////////////////////////////////////////////
// File: networkio.cpp
// Description: Network input/output data, allowing float/int implementations.
// Author: Ray Smith
//
// (C) Copyright 2014, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you m... | 2301_81045437/tesseract | src/lstm/networkio.cpp | C++ | apache-2.0 | 34,708 |
///////////////////////////////////////////////////////////////////////
// File: networkio.h
// Description: Network input/output data, allowing float/int implementations.
// Author: Ray Smith
//
// (C) Copyright 2014, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may... | 2301_81045437/tesseract | src/lstm/networkio.h | C++ | apache-2.0 | 15,249 |
///////////////////////////////////////////////////////////////////////
// File: networkscratch.h
// Description: Scratch space for Network layers that hides distinction
// between float/int implementations.
// Author: Ray Smith
//
// (C) Copyright 2014, Google Inc.
// Licensed under the Apache... | 2301_81045437/tesseract | src/lstm/networkscratch.h | C++ | apache-2.0 | 10,062 |
/////////////////////////////////////////////////////////////////////////
// File: parallel.cpp
// Description: Runs networks in parallel on the same input.
// Author: Ray Smith
//
// (C) Copyright 2013, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this f... | 2301_81045437/tesseract | src/lstm/parallel.cpp | C++ | apache-2.0 | 6,758 |
///////////////////////////////////////////////////////////////////////
// File: parallel.h
// Description: Runs networks in parallel on the same input.
// Author: Ray Smith
//
// (C) Copyright 2013, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file ... | 2301_81045437/tesseract | src/lstm/parallel.h | C++ | apache-2.0 | 3,222 |
///////////////////////////////////////////////////////////////////////
// File: plumbing.cpp
// Description: Base class for networks that organize other networks
// eg series or parallel.
// Author: Ray Smith
//
// (C) Copyright 2014, Google Inc.
// Licensed under the Apache License, Version 2... | 2301_81045437/tesseract | src/lstm/plumbing.cpp | C++ | apache-2.0 | 8,866 |
///////////////////////////////////////////////////////////////////////
// File: plumbing.h
// Description: Base class for networks that organize other networks
// eg series or parallel.
// Author: Ray Smith
//
// (C) Copyright 2014, Google Inc.
// Licensed under the Apache License, Version 2.0... | 2301_81045437/tesseract | src/lstm/plumbing.h | C++ | apache-2.0 | 6,421 |
///////////////////////////////////////////////////////////////////////
// File: recodebeam.cpp
// Description: Beam search to decode from the re-encoded CJK as a sequence of
// smaller numbers in place of a single large code.
// Author: Ray Smith
//
// (C) Copyright 2015, Google Inc.
// Licens... | 2301_81045437/tesseract | src/lstm/recodebeam.cpp | C++ | apache-2.0 | 54,247 |
///////////////////////////////////////////////////////////////////////
// File: recodebeam.h
// Description: Beam search to decode from the re-encoded CJK as a sequence of
// smaller numbers in place of a single large code.
// Author: Ray Smith
//
// (C) Copyright 2015, Google Inc.
// Licensed... | 2301_81045437/tesseract | src/lstm/recodebeam.h | C++ | apache-2.0 | 22,082 |
///////////////////////////////////////////////////////////////////////
// File: reconfig.cpp
// Description: Network layer that reconfigures the scaling vs feature
// depth.
// Author: Ray Smith
//
// (C) Copyright 2014, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "Licen... | 2301_81045437/tesseract | src/lstm/reconfig.cpp | C++ | apache-2.0 | 4,794 |
///////////////////////////////////////////////////////////////////////
// File: reconfig.h
// Description: Network layer that reconfigures the scaling vs feature
// depth.
// Author: Ray Smith
//
// (C) Copyright 2014, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License... | 2301_81045437/tesseract | src/lstm/reconfig.h | C++ | apache-2.0 | 3,323 |
///////////////////////////////////////////////////////////////////////
// File: reversed.cpp
// Description: Runs a single network on time-reversed input, reversing output.
// Author: Ray Smith
//
// (C) Copyright 2013, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you m... | 2301_81045437/tesseract | src/lstm/reversed.cpp | C++ | apache-2.0 | 3,215 |
///////////////////////////////////////////////////////////////////////
// File: reversed.h
// Description: Runs a single network on time-reversed input, reversing output.
// Author: Ray Smith
//
// (C) Copyright 2013, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may... | 2301_81045437/tesseract | src/lstm/reversed.h | C++ | apache-2.0 | 3,460 |
///////////////////////////////////////////////////////////////////////
// File: series.cpp
// Description: Runs networks in series on the same input.
// Author: Ray Smith
//
// (C) Copyright 2013, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file ex... | 2301_81045437/tesseract | src/lstm/series.cpp | C++ | apache-2.0 | 7,560 |
///////////////////////////////////////////////////////////////////////
// File: series.h
// Description: Runs networks in series on the same input.
// Author: Ray Smith
//
// (C) Copyright 2013, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file exce... | 2301_81045437/tesseract | src/lstm/series.h | C++ | apache-2.0 | 3,977 |
///////////////////////////////////////////////////////////////////////
// File: static_shape.h
// Description: Defines the size of the 4-d tensor input/output from a network.
// Author: Ray Smith
// Created: Fri Oct 14 09:07:31 PST 2016
//
// (C) Copyright 2016, Google Inc.
// Licensed under the Apache... | 2301_81045437/tesseract | src/lstm/static_shape.h | C++ | apache-2.0 | 3,575 |
///////////////////////////////////////////////////////////////////////
// File: stridemap.cpp
// Description: Indexing into a 4-d tensor held in a 2-d Array.
// Author: Ray Smith
//
// (C) Copyright 2016, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this... | 2301_81045437/tesseract | src/lstm/stridemap.cpp | C++ | apache-2.0 | 5,845 |
///////////////////////////////////////////////////////////////////////
// File: stridemap.h
// Description: Indexing into a 4-d tensor held in a 2-d Array.
// Author: Ray Smith
//
// (C) Copyright 2016, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this f... | 2301_81045437/tesseract | src/lstm/stridemap.h | C++ | apache-2.0 | 5,549 |
///////////////////////////////////////////////////////////////////////
// File: tfnetwork.cpp
// Description: Encapsulation of an entire tensorflow graph as a
// Tesseract Network.
// Author: Ray Smith
//
// (C) Copyright 2016, Google Inc.
// Licensed under the Apache License, Version 2.0 (the... | 2301_81045437/tesseract | src/lstm/tfnetwork.cpp | C++ | apache-2.0 | 6,131 |
///////////////////////////////////////////////////////////////////////
// File: tfnetwork.h
// Description: Encapsulation of an entire tensorflow graph as a
// Tesseract Network.
// Author: Ray Smith
//
// (C) Copyright 2016, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "... | 2301_81045437/tesseract | src/lstm/tfnetwork.h | C++ | apache-2.0 | 3,744 |
///////////////////////////////////////////////////////////////////////
// File: weightmatrix.cpp
// Description: Hides distinction between float/int implementations.
// Author: Ray Smith
//
// (C) Copyright 2014, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not ... | 2301_81045437/tesseract | src/lstm/weightmatrix.cpp | C++ | apache-2.0 | 17,214 |
///////////////////////////////////////////////////////////////////////
// File: weightmatrix.h
// Description: Hides distinction between float/int implementations.
// Author: Ray Smith
//
// (C) Copyright 2014, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not us... | 2301_81045437/tesseract | src/lstm/weightmatrix.h | C++ | apache-2.0 | 8,026 |
// Copyright 2007 Google Inc. All Rights Reserved.
//
// Author: Joern Wanke
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required ... | 2301_81045437/tesseract | src/svpaint.cpp | C++ | apache-2.0 | 9,267 |
/**********************************************************************
* File: tesseract.cpp
* Description: Main program for merge of tess and editor.
* Author: Ray Smith
*
* (C) Copyright 1992, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not us... | 2301_81045437/tesseract | src/tesseract.cpp | C++ | apache-2.0 | 27,650 |
///////////////////////////////////////////////////////////////////////
// File: alignedblob.cpp
// Description: Subclass of BBGrid to find vertically aligned blobs.
// Author: Ray Smith
//
// (C) Copyright 2008, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not u... | 2301_81045437/tesseract | src/textord/alignedblob.cpp | C++ | apache-2.0 | 23,380 |
///////////////////////////////////////////////////////////////////////
// File: alignedblob.h
// Description: A class to find vertically aligned blobs in a BBGrid,
// and a struct to hold control parameters.
// Author: Ray Smith
//
// (C) Copyright 2008, Google Inc.
// Licensed under the Apach... | 2301_81045437/tesseract | src/textord/alignedblob.h | C++ | apache-2.0 | 5,632 |
///////////////////////////////////////////////////////////////////////
// File: baselinedetect.cpp
// Description: Initial Baseline Determination.
// Copyright 2012 Google Inc. All Rights Reserved.
// Author: rays@google.com (Ray Smith)
//
// Licensed under the Apache License, Version 2.0 (the "License");
... | 2301_81045437/tesseract | src/textord/baselinedetect.cpp | C++ | apache-2.0 | 35,666 |
///////////////////////////////////////////////////////////////////////
// File: baselinedetect.h
// Description: Initial Baseline Determination.
// Copyright 2012 Google Inc. All Rights Reserved.
// Author: rays@google.com (Ray Smith)
//
// Licensed under the Apache License, Version 2.0 (the "License");
//... | 2301_81045437/tesseract | src/textord/baselinedetect.h | C++ | apache-2.0 | 11,489 |