#include <ratngs.h>
Public Member Functions | |
WERD_CHOICE () | |
WERD_CHOICE (int reserved) | |
WERD_CHOICE (const char *src_string, const char *src_lengths, float src_rating, float src_certainty, uinT8 src_permuter, const UNICHARSET &unicharset) | |
WERD_CHOICE (const char *src_string, const UNICHARSET &unicharset) | |
WERD_CHOICE (const WERD_CHOICE &word) | |
~WERD_CHOICE () | |
int | length () const |
const UNICHAR_ID * | unichar_ids () const |
const UNICHAR_ID | unichar_id (int index) const |
const char * | fragment_lengths () const |
const char | fragment_length (int index) const |
float | rating () const |
float | certainty () const |
uinT8 | permuter () const |
bool | fragment_mark () const |
BLOB_CHOICE_LIST_CLIST * | blob_choices () |
void | set_unichar_id (UNICHAR_ID unichar_id, int index) |
void | set_rating (float new_val) |
void | set_certainty (float new_val) |
void | set_permuter (uinT8 perm) |
void | set_fragment_mark (bool new_fragment_mark) |
void | set_blob_choices (BLOB_CHOICE_LIST_CLIST *blob_choices) |
void | double_the_size () |
void | init (int reserved) |
void | init (const char *src_string, const char *src_lengths, float src_rating, float src_certainty, uinT8 src_permuter, const UNICHARSET ¤t_unicharset) |
void | make_bad () |
void | append_unichar_id_space_allocated (UNICHAR_ID unichar_id, char fragment_length, float rating, float certainty) |
void | append_unichar_id (UNICHAR_ID unichar_id, char fragment_length, float rating, float certainty) |
void | set_unichar_id (UNICHAR_ID unichar_id, char fragment_length, float rating, float certainty, int index) |
bool | contains_unichar_id (UNICHAR_ID unichar_id) const |
void | remove_unichar_ids (int index, int num) |
void | remove_last_unichar_id () |
void | remove_unichar_id (int index) |
void | string_and_lengths (const UNICHARSET ¤t_unicharset, STRING *word_str, STRING *word_lengths_str) const |
const STRING | debug_string (const UNICHARSET ¤t_unicharset) const |
void | populate_unichars (const UNICHARSET ¤t_unicharset) |
const STRING & | unichar_string () const |
const STRING & | unichar_lengths () const |
const void | print () const |
const void | print (const char *msg) const |
WERD_CHOICE & | operator+= (const WERD_CHOICE &second) |
WERD_CHOICE & | operator= (const WERD_CHOICE &source) |
WERD_CHOICE::WERD_CHOICE | ( | ) | [inline] |
WERD_CHOICE::WERD_CHOICE | ( | int | reserved | ) | [inline] |
WERD_CHOICE::WERD_CHOICE | ( | const char * | src_string, | |
const char * | src_lengths, | |||
float | src_rating, | |||
float | src_certainty, | |||
uinT8 | src_permuter, | |||
const UNICHARSET & | unicharset | |||
) | [inline] |
WERD_CHOICE::WERD_CHOICE | ( | const char * | src_string, | |
const UNICHARSET & | unicharset | |||
) |
WERD_CHOICE::WERD_CHOICE | ( | const WERD_CHOICE & | word | ) | [inline] |
WERD_CHOICE::~WERD_CHOICE | ( | ) |
void WERD_CHOICE::append_unichar_id | ( | UNICHAR_ID | unichar_id, | |
char | fragment_length, | |||
float | rating, | |||
float | certainty | |||
) |
void WERD_CHOICE::append_unichar_id_space_allocated | ( | UNICHAR_ID | unichar_id, | |
char | fragment_length, | |||
float | rating, | |||
float | certainty | |||
) | [inline] |
BLOB_CHOICE_LIST_CLIST* WERD_CHOICE::blob_choices | ( | ) | [inline] |
float WERD_CHOICE::certainty | ( | ) | const [inline] |
bool WERD_CHOICE::contains_unichar_id | ( | UNICHAR_ID | unichar_id | ) | const |
const STRING WERD_CHOICE::debug_string | ( | const UNICHARSET & | current_unicharset | ) | const [inline] |
void WERD_CHOICE::double_the_size | ( | ) | [inline] |
const char WERD_CHOICE::fragment_length | ( | int | index | ) | const [inline] |
const char* WERD_CHOICE::fragment_lengths | ( | ) | const [inline] |
bool WERD_CHOICE::fragment_mark | ( | ) | const [inline] |
void WERD_CHOICE::init | ( | const char * | src_string, | |
const char * | src_lengths, | |||
float | src_rating, | |||
float | src_certainty, | |||
uinT8 | src_permuter, | |||
const UNICHARSET & | current_unicharset | |||
) |
void WERD_CHOICE::init | ( | int | reserved | ) | [inline] |
int WERD_CHOICE::length | ( | ) | const [inline] |
void WERD_CHOICE::make_bad | ( | ) | [inline] |
WERD_CHOICE & WERD_CHOICE::operator+= | ( | const WERD_CHOICE & | second | ) |
WERD_CHOICE & WERD_CHOICE::operator= | ( | const WERD_CHOICE & | source | ) |
uinT8 WERD_CHOICE::permuter | ( | ) | const [inline] |
void WERD_CHOICE::populate_unichars | ( | const UNICHARSET & | current_unicharset | ) | [inline] |
const void WERD_CHOICE::print | ( | const char * | msg | ) | const |
const void WERD_CHOICE::print | ( | ) | const [inline] |
float WERD_CHOICE::rating | ( | ) | const [inline] |
void WERD_CHOICE::remove_last_unichar_id | ( | ) | [inline] |
void WERD_CHOICE::remove_unichar_id | ( | int | index | ) | [inline] |
void WERD_CHOICE::remove_unichar_ids | ( | int | index, | |
int | num | |||
) |
void WERD_CHOICE::set_blob_choices | ( | BLOB_CHOICE_LIST_CLIST * | blob_choices | ) |
void WERD_CHOICE::set_certainty | ( | float | new_val | ) | [inline] |
void WERD_CHOICE::set_fragment_mark | ( | bool | new_fragment_mark | ) | [inline] |
void WERD_CHOICE::set_permuter | ( | uinT8 | perm | ) | [inline] |
void WERD_CHOICE::set_rating | ( | float | new_val | ) | [inline] |
void WERD_CHOICE::set_unichar_id | ( | UNICHAR_ID | unichar_id, | |
char | fragment_length, | |||
float | rating, | |||
float | certainty, | |||
int | index | |||
) | [inline] |
void WERD_CHOICE::set_unichar_id | ( | UNICHAR_ID | unichar_id, | |
int | index | |||
) | [inline] |
void WERD_CHOICE::string_and_lengths | ( | const UNICHARSET & | current_unicharset, | |
STRING * | word_str, | |||
STRING * | word_lengths_str | |||
) | const |
const UNICHAR_ID WERD_CHOICE::unichar_id | ( | int | index | ) | const [inline] |
const UNICHAR_ID* WERD_CHOICE::unichar_ids | ( | ) | const [inline] |
const STRING& WERD_CHOICE::unichar_lengths | ( | ) | const [inline] |
const STRING& WERD_CHOICE::unichar_string | ( | ) | const [inline] |