#include <dawg_cache.h>
Definition at line 30 of file dawg_cache.h.
◆ DeleteUnusedDawgs()
void tesseract::DawgCache::DeleteUnusedDawgs |
( |
| ) |
|
|
inline |
Definition at line 46 of file dawg_cache.h.
47 dawgs_.DeleteUnusedObjects();
◆ FreeDawg()
bool tesseract::DawgCache::FreeDawg |
( |
Dawg * |
dawg | ) |
|
|
inline |
Definition at line 41 of file dawg_cache.h.
42 return dawgs_.Free(dawg);
◆ GetSquishedDawg()
Dawg * tesseract::DawgCache::GetSquishedDawg |
( |
const STRING & |
lang, |
|
|
const char * |
data_file_name, |
|
|
TessdataType |
tessdata_dawg_type, |
|
|
int |
debug_level |
|
) |
| |
Definition at line 47 of file dawg_cache.cpp.
52 STRING data_id = data_file_name;
53 data_id += kTessdataFileSuffixes[tessdata_dawg_type];
54 DawgLoader loader(
lang, data_file_name, tessdata_dawg_type, debug_level);
_ConstTessMemberResultCallback_0_0< true, R, T1 >::base * NewTessCallback(const T1 *obj, R(T2::*member)() const)
The documentation for this class was generated from the following files: