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
static LigatureTable * Get()
const LigHash & lig_to_norm_table() const
hash_map< string, string, StringHash > LigHash
LigHash norm_to_lig_table_
static SmartPtr< LigatureTable > instance_
const LigHash & norm_to_lig_table() const
string RemoveLigatures(const string &str) const
string RemoveCustomLigatures(const string &str) const
LigHash lig_to_norm_table_