diff --git a/src/FoLiA-wordtranslate.cxx b/src/FoLiA-wordtranslate.cxx index 8c21861..19d9cc7 100644 --- a/src/FoLiA-wordtranslate.cxx +++ b/src/FoLiA-wordtranslate.cxx @@ -94,11 +94,11 @@ namespace std } -typedef unordered_map t_dictionary; -typedef unordered_set t_lexicon; -typedef vector> t_rules; -typedef unordered_map> t_histdictionary; //dictionary from historical lexicon, form => lemma => freq -typedef unordered_map> t_lemmamap; //lemma => src:lemma_id => freq +using t_dictionary = unordered_map; +using t_lexicon = unordered_set; +using t_rules = vector>; +using t_histdictionary = unordered_map>; //dictionary from historical lexicon, form => lemma => freq +using t_lemmamap = unordered_map>; //lemma => src:lemma_id => freq UnicodeString applyRules( const UnicodeString& orig_source, const t_rules& rules) { UnicodeString source = orig_source;