#include "choices.h"
#include "emalloc.h"
#include "globals.h"
#include "host.h"
#include "danerror.h"
#include "structures.h"
#include "tordvars.h"
#include "tprintf.h"
#include "unicharset.h"
#include "dict.h"
#include "ambigs.h"
#include "tessarray.h"
#include "elst.h"
#include "general.h"
#include "ratngs.h"
#include "varable.h"
#include "image.h"
#include "unichar.h"
#include "dawg.h"
#include "cutil.h"
Namespaces | |
namespace | tesseract |
Defines | |
#define | CHOICEBLOCK 100 |
Functions | |
makestructure (newchoice, oldchoice, printchoice, A_CHOICE, freechoice, CHOICEBLOCK,"A_CHOICE", choicecount) CHOICES append_char_choice(CHOICES ratings | |
return (ratings) | |
CHOICES | copy_choices (CHOICES choices) |
void | clone_choice (A_CHOICE *choice, const char *string, const char *lengths, float rating, float certainty, inT8 permuter, bool fragment_mark, const char *fragment_lengths) |
void | clear_choice (A_CHOICE *choice) |
void | free_choice (void *arg) |
A_CHOICE * | get_best_free_other (A_CHOICE *choice_1, A_CHOICE *choice_2) |
A_CHOICE * | new_choice (const char *string, const char *lengths, float rating, float certainty, inT8 config, int script_id, char permuter, bool fragment_mark, const char *fragment_lengths) |
A_CHOICE * | new_choice (const char *string, const char *lengths, float rating, float certainty, inT8 config, char permuter) |
Variables | |
const char * | string |
const char const char * | lengths |
const char const char float | rating |
const char const char float float | certainty |
const char const char float float inT8 | config |
const char const char float float inT8 int script_id A_CHOICE * | this_choice |
ratings = push_last (ratings, (LIST) this_choice) |
#define CHOICEBLOCK 100 |
void clear_choice | ( | A_CHOICE * | choice | ) |
void clone_choice | ( | A_CHOICE * | choice, | |
const char * | string, | |||
const char * | lengths, | |||
float | rating, | |||
float | certainty, | |||
inT8 | permuter, | |||
bool | fragment_mark, | |||
const char * | fragment_lengths | |||
) |
void free_choice | ( | void * | arg | ) |
makestructure | ( | newchoice | , | |
oldchoice | , | |||
printchoice | , | |||
A_CHOICE | , | |||
freechoice | , | |||
CHOICEBLOCK | , | |||
"A_CHOICE" | , | |||
choicecount | ||||
) |
A_CHOICE* new_choice | ( | const char * | string, | |
const char * | lengths, | |||
float | rating, | |||
float | certainty, | |||
inT8 | config, | |||
char | permuter | |||
) |
A_CHOICE* new_choice | ( | const char * | string, | |
const char * | lengths, | |||
float | rating, | |||
float | certainty, | |||
inT8 | config, | |||
int | script_id, | |||
char | permuter, | |||
bool | fragment_mark, | |||
const char * | fragment_lengths | |||
) |
return | ( | ratings | ) |
const char const char float float certainty |
const char const char* lengths |
const char const char float rating |
ratings = push_last (ratings, (LIST) this_choice) |
const char* string |