#include <unicharcompress.h>
|
static bool | DecomposeHangul (int unicode, int *leading, int *vowel, int *trailing) |
|
◆ UnicharCompress() [1/2]
tesseract::UnicharCompress::UnicharCompress |
( |
| ) |
|
◆ UnicharCompress() [2/2]
◆ ~UnicharCompress()
tesseract::UnicharCompress::~UnicharCompress |
( |
| ) |
|
◆ Cleanup()
void tesseract::UnicharCompress::Cleanup |
( |
| ) |
|
|
private |
◆ code_range()
int tesseract::UnicharCompress::code_range |
( |
| ) |
const |
|
inline |
◆ ComputeCodeRange()
void tesseract::UnicharCompress::ComputeCodeRange |
( |
| ) |
|
|
private |
◆ ComputeEncoding()
bool tesseract::UnicharCompress::ComputeEncoding |
( |
const UNICHARSET & |
unicharset, |
|
|
int |
null_id, |
|
|
STRING * |
radical_stroke_table |
|
) |
| |
◆ DecodeUnichar()
int tesseract::UnicharCompress::DecodeUnichar |
( |
const RecodedCharID & |
code | ) |
const |
◆ DecomposeHangul()
bool tesseract::UnicharCompress::DecomposeHangul |
( |
int |
unicode, |
|
|
int * |
leading, |
|
|
int * |
vowel, |
|
|
int * |
trailing |
|
) |
| |
|
static |
◆ DefragmentCodeValues()
void tesseract::UnicharCompress::DefragmentCodeValues |
( |
int |
encoded_null | ) |
|
|
private |
◆ DeSerialize()
bool tesseract::UnicharCompress::DeSerialize |
( |
TFile * |
fp | ) |
|
◆ EncodeUnichar()
int tesseract::UnicharCompress::EncodeUnichar |
( |
int |
unichar_id, |
|
|
RecodedCharID * |
code |
|
) |
| const |
◆ GetEncodingAsString()
STRING tesseract::UnicharCompress::GetEncodingAsString |
( |
const UNICHARSET & |
unicharset | ) |
const |
◆ GetFinalCodes()
◆ GetNextCodes()
◆ IsValidFirstCode()
bool tesseract::UnicharCompress::IsValidFirstCode |
( |
int |
code | ) |
const |
|
inline |
◆ operator=()
◆ Serialize()
bool tesseract::UnicharCompress::Serialize |
( |
TFile * |
fp | ) |
const |
◆ SetupDecoder()
void tesseract::UnicharCompress::SetupDecoder |
( |
| ) |
|
|
private |
◆ SetupDirect()
◆ SetupPassThrough()
void tesseract::UnicharCompress::SetupPassThrough |
( |
const UNICHARSET & |
unicharset | ) |
|
◆ code_range_
int tesseract::UnicharCompress::code_range_ |
|
private |
◆ decoder_
◆ encoder_
◆ final_codes_
◆ is_valid_start_
◆ kFirstHangul
const int tesseract::UnicharCompress::kFirstHangul = 0xac00 |
|
static |
◆ kLCount
const int tesseract::UnicharCompress::kLCount = 19 |
|
static |
◆ kNumHangul
const int tesseract::UnicharCompress::kNumHangul = 11172 |
|
static |
◆ kTCount
const int tesseract::UnicharCompress::kTCount = 28 |
|
static |
◆ kVCount
const int tesseract::UnicharCompress::kVCount = 21 |
|
static |
◆ next_codes_
The documentation for this class was generated from the following files:
- /home/stephane/src/tesseract/src/ccutil/unicharcompress.h
- /home/stephane/src/tesseract/src/ccutil/unicharcompress.cpp