tesseract-doxygen/dict/choices.cpp File Reference

#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_CHOICEget_best_free_other (A_CHOICE *choice_1, A_CHOICE *choice_2)
A_CHOICEnew_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_CHOICEnew_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 Documentation

#define CHOICEBLOCK   100

Function Documentation

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 
)
CHOICES copy_choices ( CHOICES  choices  ) 
void free_choice ( void *  arg  ) 
A_CHOICE* get_best_free_other ( A_CHOICE choice_1,
A_CHOICE choice_2 
)
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   ) 

Variable Documentation

const char const char float float certainty
const char const char float float inT8 config
const char const char* lengths
const char const char float rating
ratings = push_last (ratings, (LIST) this_choice)
const char* string
Initial value:
 new_choice (string, lengths, rating, certainty,
                            config, script_id, NO_PERM, false, NULL)
Generated on Sun Jul 18 17:10:51 2010 for Tesseract by  doxygen 1.6.3