#include "tessarray.h"
#include "choices.h"
Go to the source code of this file.
#define CHOICES_PER_LIST 40 |
Number of choices in each list
Definition at line 44 of file choicearr.h.
#define for_each_choice | ( | array, | |||
index | ) | array_loop (array, index) |
Iterate through each of the possible choices.
Definition at line 63 of file choicearr.h.
Referenced by select_blob_to_split(), and UniformCertainties().
#define free_all_choices | ( | choices, | |||
index | ) |
Value:
for_each_choice (choices, index) { \ free_choices ((CHOICES) array_value (choices, index)); \ } \ array_free (choices) \
Definition at line 69 of file choicearr.h.
Referenced by rebuild_current_state().
#define free_choice_list | ( | choice_list | ) | array_free (choice_list) |
Free a list of choices.
Free the array structure but not each of the sublists of choices.
Definition at line 57 of file choicearr.h.
Referenced by permute_subword().
#define new_choice_list | ( | ) | array_new (CHOICES_PER_LIST) |
Return a new array structure that is a list of choices.
Each set of choices will be of type CHOICES.
Definition at line 81 of file choicearr.h.
Referenced by chop_word_main(), evaluate_chunks(), permute_subword(), and rebuild_current_state().