Beispiel #1
0
// 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)
}
Beispiel #2
0
// 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)

}
Beispiel #3
0
// 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)

}