|
tesseract
3.04.00
|
#include "cluster.h"#include "commandlineflags.h"#include "featdefs.h"#include "intproto.h"#include "oldlist.h"Go to the source code of this file.
Classes | |
| struct | LABELEDLISTNODE |
| struct | MERGE_CLASS_NODE |
Namespaces | |
| tesseract | |
Typedefs | |
| typedef struct LABELEDLISTNODE * | LABELEDLIST |
| typedef MERGE_CLASS_NODE * | MERGE_CLASS |
Functions | |
| void | ParseArguments (int *argc, char ***argv) |
| ShapeTable * | tesseract::LoadShapeTable (const STRING &file_prefix) |
| void | tesseract::WriteShapeTable (const STRING &file_prefix, const ShapeTable &shape_table) |
| MasterTrainer * | tesseract::LoadTrainingData (int argc, const char *const *argv, bool replication, ShapeTable **shape_table, STRING *file_prefix) |
| const char * | GetNextFilename (int argc, const char *const *argv) |
| LABELEDLIST | FindList (LIST List, char *Label) |
| LABELEDLIST | NewLabeledList (const char *Label) |
| void | ReadTrainingSamples (const FEATURE_DEFS_STRUCT &feature_defs, const char *feature_name, int max_samples, UNICHARSET *unicharset, FILE *file, LIST *training_samples) |
| void | WriteTrainingSamples (const FEATURE_DEFS_STRUCT &FeatureDefs, char *Directory, LIST CharList, const char *program_feature_type) |
| void | FreeTrainingSamples (LIST CharList) |
| void | FreeLabeledList (LABELEDLIST LabeledList) |
| void | FreeLabeledClassList (LIST ClassListList) |
| CLUSTERER * | SetUpForClustering (const FEATURE_DEFS_STRUCT &FeatureDefs, LABELEDLIST CharSample, const char *program_feature_type) |
| LIST | RemoveInsignificantProtos (LIST ProtoList, BOOL8 KeepSigProtos, BOOL8 KeepInsigProtos, int N) |
| void | CleanUpUnusedData (LIST ProtoList) |
| void | MergeInsignificantProtos (LIST ProtoList, const char *label, CLUSTERER *Clusterer, CLUSTERCONFIG *Config) |
| MERGE_CLASS | FindClass (LIST List, const char *Label) |
| MERGE_CLASS | NewLabeledClass (const char *Label) |
| CLASS_STRUCT * | SetUpForFloat2Int (const UNICHARSET &unicharset, LIST LabeledClassList) |
| void | Normalize (float *Values) |
| void | FreeNormProtoList (LIST CharList) |
| void | AddToNormProtosList (LIST *NormProtoList, LIST ProtoList, char *CharName) |
| int | NumberOfProtos (LIST ProtoList, BOOL8 CountSigProtos, BOOL8 CountInsigProtos) |
| void | allocNormProtos () |
Variables | |
| FEATURE_DEFS_STRUCT | feature_defs |
| CLUSTERCONFIG | Config |
| typedef struct LABELEDLISTNODE * LABELEDLIST |
| typedef MERGE_CLASS_NODE* MERGE_CLASS |
Definition at line 56 of file commontraining.h.
Definition at line 870 of file commontraining.cpp.
| void allocNormProtos | ( | ) |
| void CleanUpUnusedData | ( | LIST | ProtoList | ) |
Definition at line 618 of file commontraining.cpp.
| MERGE_CLASS FindClass | ( | LIST | List, |
| const char * | Label | ||
| ) |
Definition at line 713 of file commontraining.cpp.
| LABELEDLIST FindList | ( | LIST | List, |
| char * | Label | ||
| ) |
Definition at line 320 of file commontraining.cpp.
| void FreeLabeledClassList | ( | LIST | ClassListList | ) |
Definition at line 744 of file commontraining.cpp.
| void FreeLabeledList | ( | LABELEDLIST | LabeledList | ) |
Definition at line 483 of file commontraining.cpp.
| void FreeNormProtoList | ( | LIST | CharList | ) |
Definition at line 854 of file commontraining.cpp.
| void FreeTrainingSamples | ( | LIST | CharList | ) |
Definition at line 453 of file commontraining.cpp.
| const char* GetNextFilename | ( | int | argc, |
| const char *const * | argv | ||
| ) |
Definition at line 297 of file commontraining.cpp.
| void MergeInsignificantProtos | ( | LIST | ProtoList, |
| const char * | label, | ||
| CLUSTERER * | Clusterer, | ||
| CLUSTERCONFIG * | Config | ||
| ) |
Definition at line 553 of file commontraining.cpp.
| MERGE_CLASS NewLabeledClass | ( | const char * | Label | ) |
Definition at line 730 of file commontraining.cpp.
| LABELEDLIST NewLabeledList | ( | const char * | Label | ) |
Definition at line 352 of file commontraining.cpp.
| void Normalize | ( | float * | Values | ) |
Definition at line 837 of file commontraining.cpp.
Definition at line 888 of file commontraining.cpp.
| void ParseArguments | ( | int * | argc, |
| char *** | argv | ||
| ) |
Definition at line 89 of file commontraining.cpp.
| void ReadTrainingSamples | ( | const FEATURE_DEFS_STRUCT & | feature_defs, |
| const char * | feature_name, | ||
| int | max_samples, | ||
| UNICHARSET * | unicharset, | ||
| FILE * | file, | ||
| LIST * | training_samples | ||
| ) |
Definition at line 383 of file commontraining.cpp.
| LIST RemoveInsignificantProtos | ( | LIST | ProtoList, |
| BOOL8 | KeepSigProtos, | ||
| BOOL8 | KeepInsigProtos, | ||
| int | N | ||
| ) |
Definition at line 645 of file commontraining.cpp.
| CLUSTERER* SetUpForClustering | ( | const FEATURE_DEFS_STRUCT & | FeatureDefs, |
| LABELEDLIST | CharSample, | ||
| const char * | program_feature_type | ||
| ) |
Definition at line 502 of file commontraining.cpp.
| CLASS_STRUCT* SetUpForFloat2Int | ( | const UNICHARSET & | unicharset, |
| LIST | LabeledClassList | ||
| ) |
SetUpForFloat2Int
Definition at line 774 of file commontraining.cpp.
| void WriteTrainingSamples | ( | const FEATURE_DEFS_STRUCT & | FeatureDefs, |
| char * | Directory, | ||
| LIST | CharList, | ||
| const char * | program_feature_type | ||
| ) |
| CLUSTERCONFIG Config |
Definition at line 51 of file commontraining.cpp.
| FEATURE_DEFS_STRUCT feature_defs |
Definition at line 52 of file commontraining.cpp.