tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
tesseract::DawgCache Class Reference

#include <dawg_cache.h>

Collaboration diagram for tesseract::DawgCache:

Public Member Functions

DawgGetSquishedDawg (const STRING &lang, TessdataType tessdata_dawg_type, int debug_level, TessdataManager *data_file)
 
bool FreeDawg (Dawg *dawg)
 
void DeleteUnusedDawgs ()
 

Private Attributes

ObjectCache< Dawgdawgs_
 

Member Function Documentation

◆ DeleteUnusedDawgs()

void tesseract::DawgCache::DeleteUnusedDawgs ( )
inline

◆ FreeDawg()

bool tesseract::DawgCache::FreeDawg ( Dawg dawg)
inline

◆ GetSquishedDawg()

Dawg * tesseract::DawgCache::GetSquishedDawg ( const STRING lang,
TessdataType  tessdata_dawg_type,
int  debug_level,
TessdataManager data_file 
)

Member Data Documentation

◆ dawgs_

ObjectCache<Dawg> tesseract::DawgCache::dawgs_
private

The documentation for this class was generated from the following files: