|
Tesseract 3.01
|
#include "oldlist.h"#include "efio.h"#include "emalloc.h"#include "featdefs.h"#include "tessopt.h"#include "ocrfeatures.h"#include "mf.h"#include "clusttool.h"#include "cluster.h"#include "protos.h"#include "ndminx.h"#include "tprintf.h"#include "const.h"#include "mergenf.h"#include "intproto.h"#include "freelist.h"#include "danerror.h"#include "globals.h"#include "commontraining.h"#include "unicity_table.h"#include "genericvector.h"#include "classify.h"#include <string.h>#include <stdio.h>#include <math.h>Defines | |
| #define | _USE_MATH_DEFINES |
| #define | PROGRAM_FEATURE_TYPE "mf" |
Functions | |
| int | main (int argc, char **argv) |
| void | WriteMicrofeat (char *Directory, LIST ClassList) |
| void | WriteProtos (FILE *File, MERGE_CLASS MergeClass) |
| void | WriteConfigs (FILE *File, CLASS_TYPE Class) |
| void | WritePFFMTable (INT_TEMPLATES Templates, const UNICHARSET &unicharset, const char *filename) |
| void | InitXHeights (const char *filename, const UnicityTable< FontInfo > &fontinfo_table, int xheights[]) |
| void | AddSpacingInfo (const char *filename, int fontinfo_id, const UNICHARSET &unicharset, const int xheights[], UnicityTable< FontInfo > *fontinfo_table) |
| void | DisplayProtoList (const char *ch, LIST protolist) |
| char * | new_dup (const char *str) |
| #define _USE_MATH_DEFINES |
---------------------------------------------------------------------------- Include Files and Type Defines ----------------------------------------------------------------------------
| #define PROGRAM_FEATURE_TYPE "mf" |
| void AddSpacingInfo | ( | const char * | filename, |
| int | fontinfo_id, | ||
| const UNICHARSET & | unicharset, | ||
| const int | xheights[], | ||
| UnicityTable< FontInfo > * | fontinfo_table | ||
| ) |
| void DisplayProtoList | ( | const char * | ch, |
| LIST | protolist | ||
| ) |
| void InitXHeights | ( | const char * | filename, |
| const UnicityTable< FontInfo > & | fontinfo_table, | ||
| int | xheights[] | ||
| ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
---------------------------------------------------------------------------- Public Function Prototypes ----------------------------------------------------------------------------
| char* new_dup | ( | const char * | str | ) |
| void WriteConfigs | ( | FILE * | File, |
| CLASS_TYPE | Class | ||
| ) |
| void WriteMicrofeat | ( | char * | Directory, |
| LIST | ClassList | ||
| ) |
---------------------------------------------------------------------------- Private Function Prototypes ----------------------------------------------------------------------------
---------------------------------------------------------------------------- Private Code ----------------------------------------------------------------------------
| void WritePFFMTable | ( | INT_TEMPLATES | Templates, |
| const UNICHARSET & | unicharset, | ||
| const char * | filename | ||
| ) |
| void WriteProtos | ( | FILE * | File, |
| MERGE_CLASS | MergeClass | ||
| ) |