22 #ifndef TRAININGDATA_LIGATURE_TABLE_H_
23 #define TRAININGDATA_LIGATURE_TABLE_H_
35 typedef hash_map<string, string, StringHash>
LigHash;
79 #endif // OCR_TRAININGDATA_TYPESETTING_LIGATURE_TABLE_H_
string AddLigatures(const string &str, const PangoFontInfo *font) const
const LigHash & norm_to_lig_table() const
string RemoveCustomLigatures(const string &str) const
const LigHash & lig_to_norm_table() const
LigHash norm_to_lig_table_
static LigatureTable * Get()
static SmartPtr< LigatureTable > instance_
hash_map< string, string, StringHash > LigHash
LigHash lig_to_norm_table_
string RemoveLigatures(const string &str) const