// LoadEx used to load two file type dictionary func LoadEx(dict core.Dict, path string) { r := new(RoutEx) r.Dict = dict core.RoutineLoadDir(r, path) }
// LoadXML used to load dictionary from xml format file func LoadXML(dict core.Dict, path string) { r := new(RoutXML) r.Dict = dict core.RoutineLoadDir(r, path) }
// Format used to func Format(t core.Trans, d core.Dict, cfg *tool.Config) { rout := new(Rout) rout.Cfg = cfg rout.T = t rout.D = d core.RoutineLoadDir(rout, cfg.SrcDir) }