Remove Emacs C modeline in comment line 1

Those files are C++, and the wrong modeline is not needed at all.
Remove also some empty descriptions and old history in the comments.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2019-12-05 13:43:47 +01:00
parent 87841e9ace
commit fc84f84b5b
34 changed files with 64 additions and 106 deletions

View File

@ -1,5 +1,4 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
*
* File: helpers.h
* Description: General utility functions
@ -16,7 +15,7 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*
********************************************************************************/
*****************************************************************************/
#ifndef TESSERACT_CCUTIL_HELPERS_H_
#define TESSERACT_CCUTIL_HELPERS_H_

View File

@ -1,5 +1,4 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
*
* File: blobs.cpp (Formerly blobs.c)
* Description: Blob definition
@ -16,7 +15,7 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*
*********************************************************************************/
*****************************************************************************/
/*----------------------------------------------------------------------
I n c l u d e s

View File

@ -1,5 +1,4 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
*
* File: blobs.h
* Description: Blob definition
@ -16,7 +15,7 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*
*********************************************************************************/
*****************************************************************************/
#ifndef BLOBS_H
#define BLOBS_H

View File

@ -1,5 +1,4 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
*
* File: matrix.cpp (Formerly matrix.c)
* Description: Ratings matrix code. (Used by associator)
@ -16,7 +15,7 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*
*********************************************************************************/
*****************************************************************************/
/*----------------------------------------------------------------------
I n c l u d e s
----------------------------------------------------------------------*/

View File

@ -1,5 +1,4 @@
/* -*-C-*-
******************************************************************************
/******************************************************************************
* File: matrix.h
* Description: Generic 2-d array/matrix and banded triangular matrix class.
* Author: Ray Smith
@ -8,8 +7,6 @@
* Description: Ratings matrix class (specialization of banded matrix).
* Segmentation search matrix of lists of BLOB_CHOICE.
* Author: Mark Seaman, OCR Technology
* Created: Wed May 16 13:22:06 1990
* Modified: Tue Mar 19 16:00:20 1991 (Mark Seaman) marks@hpgrlt
*
* (c) Copyright 1990, Hewlett-Packard Company.
** Licensed under the Apache License, Version 2.0 (the "License");
@ -22,7 +19,7 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*
*********************************************************************************/
*****************************************************************************/
#ifndef TESSERACT_CCSTRUCT_MATRIX_H_
#define TESSERACT_CCSTRUCT_MATRIX_H_

View File

@ -1,5 +1,4 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
*
* File: seam.cpp (Formerly seam.c)
* Author: Mark Seaman, OCR Technology
@ -15,7 +14,7 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*
*********************************************************************************/
*****************************************************************************/
/*----------------------------------------------------------------------
I n c l u d e s
----------------------------------------------------------------------*/

View File

@ -1,5 +1,4 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
*
* File: seam.h
* Author: Mark Seaman, SW Productivity
@ -15,7 +14,7 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*
*********************************************************************************/
*****************************************************************************/
#ifndef SEAM_H
#define SEAM_H

View File

@ -1,5 +1,4 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
*
* File: split.cpp (Formerly split.c)
* Author: Mark Seaman, OCR Technology

View File

@ -1,8 +1,6 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
*
* File: split.h
* Description:
* Author: Mark Seaman, SW Productivity
* Status: Reusable Software Component
*

View File

@ -1,5 +1,4 @@
/* -*-C-*-
******************************************************************************
/******************************************************************************
*
* File: protos.cpp (Formerly protos.c)
* Author: Mark Seaman, OCR Technology

View File

@ -1,5 +1,4 @@
/* -*-C-*-
******************************************************************************
/******************************************************************************
*
* File: protos.h
* Author: Mark Seaman, SW Productivity

View File

@ -1,5 +1,4 @@
/* -*-C-*-
###############################################################################
/******************************************************************************
#
# File: oldlist.cpp
# Description: List processing procedures.

View File

@ -1,5 +1,4 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
*
* File: oldlist.h (Formerly list.h)
* Description: List processing procedures declarations.
@ -16,13 +15,13 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*
********************************************************************************
******************************************************************************
*
* This file contains the interface for a set of general purpose list
* manipulation routines. For the implementation of these routines see
* the file "list.c".
*
********************************************************************************
******************************************************************************
*
* INDEX
* =======

View File

@ -1,5 +1,4 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
*
* File: context.cpp (Formerly context.c)
* Description: Context checking functions
@ -16,7 +15,7 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*
*********************************************************************************/
*****************************************************************************/
#include "dict.h"
#include "unicharset.h"

View File

@ -1,5 +1,4 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
*
* File: dawg.h
* Description: Definition of a class that represents Directed Acyclic Word
@ -17,7 +16,7 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*
*********************************************************************************/
*****************************************************************************/
#ifndef DICT_DAWG_H_
#define DICT_DAWG_H_

View File

@ -1,5 +1,4 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
* File: hyphen.cpp (Formerly hyphen.c)
* Description: Functions for maintaining information about hyphenated words.
* Author: Mark Seaman, OCR Technology
@ -16,7 +15,7 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*
*********************************************************************************/
*****************************************************************************/
#include "dict.h"

View File

@ -1,5 +1,4 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
*
* File: permdawg.cpp (Formerly permdawg.c)
* Description: Scale word choices by a dictionary
@ -16,7 +15,7 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*
*********************************************************************************/
*****************************************************************************/
/*----------------------------------------------------------------------
I n c l u d e s
----------------------------------------------------------------------*/

View File

@ -1,5 +1,4 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
*
* File: trie.cpp (Formerly trie.c)
* Description: Functions to build a trie data structure.
@ -16,7 +15,7 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*
*********************************************************************************/
*****************************************************************************/
/*----------------------------------------------------------------------
I n c l u d e s
----------------------------------------------------------------------*/

View File

@ -1,5 +1,4 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
*
* File: trie.h
* Description: Functions to build a trie data structure.
@ -16,7 +15,7 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*
*********************************************************************************/
*****************************************************************************/
#ifndef TRIE_H
#define TRIE_H

View File

@ -1,5 +1,4 @@
/* -*-C-*-
******************************************************************************
/******************************************************************************
*
* File: chop.cpp (Formerly chop.c)
* Author: Mark Seaman, OCR Technology

View File

@ -1,5 +1,4 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
*
* File: chop.h
* Author: Mark Seaman, SW Productivity
@ -15,7 +14,7 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*
*******************************************************************************/
*****************************************************************************/
#ifndef CHOP_H
#define CHOP_H

View File

@ -1,5 +1,4 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
*
* File: chopper.cpp (Formerly chopper.c)
* Author: Mark Seaman, OCR Technology
@ -15,7 +14,7 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*
**************************************************************************/
*****************************************************************************/
/*----------------------------------------------------------------------
I n c l u d e s

View File

@ -1,5 +1,4 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
*
* File: findseam.cpp (Formerly findseam.c)
* Author: Mark Seaman, OCR Technology
@ -15,7 +14,7 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*
*********************************************************************************/
*****************************************************************************/
/*----------------------------------------------------------------------
I n c l u d e s
----------------------------------------------------------------------*/

View File

@ -1,9 +1,7 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
*
* File: findseam.h
* Description:
* Author: Mark Seaman, SW Productivity
* Author: Mark Seaman, SW Productivity
*
* (c) Copyright 1987, Hewlett-Packard Company.
** Licensed under the Apache License, Version 2.0 (the "License");
@ -16,7 +14,7 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*
*********************************************************************************/
*****************************************************************************/
#ifndef FINDSEAM_H
#define FINDSEAM_H

View File

@ -1,5 +1,4 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
*
* File: gradechop.cpp (Formerly gradechop.c)
* Description:
@ -16,7 +15,7 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*
*********************************************************************************/
*****************************************************************************/
/*----------------------------------------------------------------------
I n c l u d e s
----------------------------------------------------------------------*/

View File

@ -1,5 +1,4 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
*
* File: measure.h
* Description: Statistics for a group of single measurements
@ -16,8 +15,7 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*
********************************************************************************
*/
*****************************************************************************/
#ifndef MEASURE_H
#define MEASURE_H

View File

@ -1,5 +1,4 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
*
* File: outlines.cpp (Formerly outlines.c)
* Description: Combinatorial Splitter
@ -16,10 +15,7 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*
********************************************************************************
* Revision 1.2 89/09/15 09:24:41 09:24:41 marks (Mark Seaman)
* First released version of Combinatorial splitter code
**/
*****************************************************************************/
/*----------------------------------------------------------------------
I n c l u d e s
----------------------------------------------------------------------*/

View File

@ -1,5 +1,4 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
*
* File: outlines.h
* Description: Combinatorial Splitter
@ -16,7 +15,7 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*
*********************************************************************************/
*****************************************************************************/
#ifndef OUTLINES_H
#define OUTLINES_H

View File

@ -1,5 +1,4 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
*
* File: pieces.cpp (Formerly pieces.c)
* Description:
@ -16,7 +15,7 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*
*********************************************************************************/
*****************************************************************************/
/*----------------------------------------------------------------------
I n c l u d e s
----------------------------------------------------------------------*/

View File

@ -1,5 +1,4 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
*
* File: plotedges.cpp (Formerly plotedges.c)
* Description: Graphics routines for "Edges" and "Outlines" windows
@ -16,7 +15,7 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*
*********************************************************************************/
*****************************************************************************/
#include "plotedges.h"
#include "render.h"

View File

@ -1,5 +1,4 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
*
* File: plotedges.h
* Description: Convert the various data type into line lists
@ -16,7 +15,7 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*
*********************************************************************************/
*****************************************************************************/
#ifndef PLOTEDGES_H
#define PLOTEDGES_H

View File

@ -1,5 +1,4 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
*
* File: render.cpp (Formerly render.c)
* Description: Convert the various data type into line lists
@ -16,7 +15,7 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*
*********************************************************************************/
*****************************************************************************/
#include "render.h"
#include "blobs.h"

View File

@ -1,5 +1,4 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
*
* File: render.h
* Description: Convert the various data type into line lists
@ -16,7 +15,7 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*
*********************************************************************************/
*****************************************************************************/
#ifndef RENDER_H
#define RENDER_H

View File

@ -1,5 +1,4 @@
/* -*-C-*-
********************************************************************************
/******************************************************************************
*
* File: wordclass.cpp (Formerly wordclass.c)
* Description: Word classifier
@ -16,7 +15,7 @@
** See the License for the specific language governing permissions and
** limitations under the License.
*
*********************************************************************************/
*****************************************************************************/
/*----------------------------------------------------------------------
I N C L U D E S
----------------------------------------------------------------------*/