#include <ambigs.h>
|
bool | ParseAmbiguityLine (int line_num, int version, int debug_level, const UNICHARSET &unicharset, char *buffer, int *test_ambig_part_size, UNICHAR_ID *test_unichar_ids, int *replacement_ambig_part_size, char *replacement_string, int *type) |
|
bool | InsertIntoTable (UnicharAmbigsVector &table, int test_ambig_part_size, UNICHAR_ID *test_unichar_ids, int replacement_ambig_part_size, const char *replacement_string, int type, AmbigSpec *ambig_spec, UNICHARSET *unicharset) |
|
◆ UnicharAmbigs()
tesseract::UnicharAmbigs::UnicharAmbigs |
( |
| ) |
|
|
default |
◆ ~UnicharAmbigs()
tesseract::UnicharAmbigs::~UnicharAmbigs |
( |
| ) |
|
|
inline |
◆ AmbigsForAdaption()
const UnicharIdVector* tesseract::UnicharAmbigs::AmbigsForAdaption |
( |
UNICHAR_ID |
unichar_id | ) |
const |
|
inline |
◆ dang_ambigs()
◆ InitUnicharAmbigs()
void tesseract::UnicharAmbigs::InitUnicharAmbigs |
( |
const UNICHARSET & |
unicharset, |
|
|
bool |
use_ambigs_for_adaption |
|
) |
| |
◆ InsertIntoTable()
bool tesseract::UnicharAmbigs::InsertIntoTable |
( |
UnicharAmbigsVector & |
table, |
|
|
int |
test_ambig_part_size, |
|
|
UNICHAR_ID * |
test_unichar_ids, |
|
|
int |
replacement_ambig_part_size, |
|
|
const char * |
replacement_string, |
|
|
int |
type, |
|
|
AmbigSpec * |
ambig_spec, |
|
|
UNICHARSET * |
unicharset |
|
) |
| |
|
private |
◆ LoadUnicharAmbigs()
void tesseract::UnicharAmbigs::LoadUnicharAmbigs |
( |
const UNICHARSET & |
encoder_set, |
|
|
TFile * |
ambigs_file, |
|
|
int |
debug_level, |
|
|
bool |
use_ambigs_for_adaption, |
|
|
UNICHARSET * |
unicharset |
|
) |
| |
◆ LoadUniversal()
void tesseract::UnicharAmbigs::LoadUniversal |
( |
const UNICHARSET & |
encoder_set, |
|
|
UNICHARSET * |
unicharset |
|
) |
| |
◆ OneToOneDefiniteAmbigs()
const UnicharIdVector* tesseract::UnicharAmbigs::OneToOneDefiniteAmbigs |
( |
UNICHAR_ID |
unichar_id | ) |
const |
|
inline |
◆ ParseAmbiguityLine()
bool tesseract::UnicharAmbigs::ParseAmbiguityLine |
( |
int |
line_num, |
|
|
int |
version, |
|
|
int |
debug_level, |
|
|
const UNICHARSET & |
unicharset, |
|
|
char * |
buffer, |
|
|
int * |
test_ambig_part_size, |
|
|
UNICHAR_ID * |
test_unichar_ids, |
|
|
int * |
replacement_ambig_part_size, |
|
|
char * |
replacement_string, |
|
|
int * |
type |
|
) |
| |
|
private |
◆ replace_ambigs()
◆ ReverseAmbigsForAdaption()
const UnicharIdVector* tesseract::UnicharAmbigs::ReverseAmbigsForAdaption |
( |
UNICHAR_ID |
unichar_id | ) |
const |
|
inline |
◆ ambigs_for_adaption_
◆ dang_ambigs_
◆ one_to_one_definite_ambigs_
◆ replace_ambigs_
◆ reverse_ambigs_for_adaption_
The documentation for this class was generated from the following files:
- /home/stephane/src/tesseract/src/ccutil/ambigs.h
- /home/stephane/src/tesseract/src/ccutil/ambigs.cpp