/home/rays/src/opensrc/tesseract-ocr/ccstruct/ratngs.h File Reference

#include <assert.h>
#include "clst.h"
#include "genericvector.h"
#include "notdll.h"
#include "unichar.h"
#include "unicharset.h"
#include "werd.h"

Go to the source code of this file.

Classes

class  BLOB_CHOICE
class  WERD_CHOICE

Typedefs

typedef GenericVector
< BLOB_CHOICE_LIST * > 
BLOB_CHOICE_LIST_VECTOR
typedef GenericVector
< WERD_CHOICE_LIST * > 
WERD_CHOICE_LIST_VECTOR

Functions

 ELISTIZEH (BLOB_CHOICE) CLISTIZEH(BLOB_CHOICE_LIST) enum PermuterType
bool EqualIgnoringCaseAndTerminalPunct (const WERD_CHOICE &word1, const WERD_CHOICE &word2)
void print_ratings_list (const char *msg, BLOB_CHOICE_LIST *ratings)
void print_ratings_list (const char *msg, BLOB_CHOICE_LIST *ratings, const UNICHARSET &current_unicharset)
void print_ratings_info (FILE *fp, BLOB_CHOICE_LIST *ratings, const UNICHARSET &current_unicharset)
void print_char_choices_list (const char *msg, const BLOB_CHOICE_LIST_VECTOR &char_choices, const UNICHARSET &current_unicharset, BOOL8 detailed)
void print_word_alternates_list (WERD_CHOICE *word, GenericVector< WERD_CHOICE * > *alternates, bool needs_populate_unichars)

Typedef Documentation

typedef GenericVector<BLOB_CHOICE_LIST *> BLOB_CHOICE_LIST_VECTOR
typedef GenericVector<WERD_CHOICE_LIST *> WERD_CHOICE_LIST_VECTOR

Function Documentation

ELISTIZEH ( BLOB_CHOICE   ) 
bool EqualIgnoringCaseAndTerminalPunct ( const WERD_CHOICE word1,
const WERD_CHOICE word2 
)
void print_char_choices_list ( const char *  msg,
const BLOB_CHOICE_LIST_VECTOR char_choices,
const UNICHARSET current_unicharset,
BOOL8  detailed 
)

print_char_choices_list

void print_ratings_info ( FILE *  fp,
BLOB_CHOICE_LIST *  ratings,
const UNICHARSET current_unicharset 
)

print_ratings_info

Send all the ratings out to the logfile.

Parameters:
fp file to use
ratings list of results
current_unicharset unicharset that can be used for id-to-unichar conversion
void print_ratings_list ( const char *  msg,
BLOB_CHOICE_LIST *  ratings,
const UNICHARSET current_unicharset 
)

print_ratings_list

Send all the ratings out to the logfile.

Parameters:
msg intro message
ratings list of ratings
current_unicharset unicharset that can be used for id-to-unichar conversion
void print_ratings_list ( const char *  msg,
BLOB_CHOICE_LIST *  ratings 
)

print_ratings_list

Print ratings list (unichar ids only).

void print_word_alternates_list ( WERD_CHOICE word,
GenericVector< WERD_CHOICE * > *  alternates,
bool  needs_populate_unichars 
)

print_word_alternates_list

Generated on Thu Feb 2 08:19:21 2012 for Tesseract by  doxygen 1.6.3