Classes |
struct | LABELEDLISTNODE |
struct | MERGE_CLASS_NODE |
Defines |
#define | MAXNAMESIZE 80 |
Typedefs |
typedef struct LABELEDLISTNODE * | LABELEDLIST |
typedef MERGE_CLASS_NODE * | MERGE_CLASS |
Functions |
void | ParseArguments (int argc, char **argv) |
char * | GetNextFilename (int Argc, char **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, float linear_spread, float circular_spread, 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, char *Label) |
MERGE_CLASS | NewLabeledClass (char *Label) |
void | 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 |
BOOL8 | ShowAllSamples |
CLUSTERCONFIG | Config |
FLOAT32 | RoundingAccuracy |
char | CTFontName [MAXNAMESIZE] |
char * | Directory |
const char * | test_ch |
const char * | InputUnicharsetFile |
const char * | OutputUnicharsetFile |
const char * | InputFontInfoFile |
const char * | InputXHeightsFile |