22 #ifndef TRAININGDATA_LIGATURE_TABLE_H_
23 #define TRAININGDATA_LIGATURE_TABLE_H_
27 #include <unordered_map>
36 using LigHash = std::unordered_map<std::string, std::string, StringHash>;
std::unordered_map< std::string, std::string, StringHash > LigHash
const LigHash & norm_to_lig_table() const
const LigHash & lig_to_norm_table() const
std::string AddLigatures(const std::string &str, const PangoFontInfo *font) const
static std::unique_ptr< LigatureTable > instance_
LigHash norm_to_lig_table_
std::string RemoveLigatures(const std::string &str) const
static LigatureTable * Get()
std::string RemoveCustomLigatures(const std::string &str) const
LigHash lig_to_norm_table_