Esempio n. 1
0
 DictGroupPtr CreateDictGroupForConversion() const {
   DictPtr phrasesDict = CreateDictForPhrases();
   DictPtr charactersDict = CreateDictForCharacters();
   DictGroupPtr dictGroup(
       new DictGroup(list<DictPtr>{phrasesDict, charactersDict}));
   return dictGroup;
 }
Esempio n. 2
0
 static DictGroupPtr CreateDictGroupForConversion() {
   DictGroupPtr dictGroup(new DictGroup);
   DictPtr phrasesDict = CreateDictForPhrases();
   DictPtr charactersDict = CreateDictForCharacters();
   dictGroup->AddDict(phrasesDict);
   dictGroup->AddDict(charactersDict);
   return dictGroup;
 }