dict.load(sources);
NodeList bowMods=root.getElementsByTagName("bowmodifier");
for(int i=0;i<bowMods.getLength();i++)
{
Element bowMod=(Element) bowMods.item(i);
BoWModifier mod=(BoWModifier) Class.forName(bowMod.getAttribute("class")).newInstance();
if(bowMod.getAttribute("config")!=null)
{
mod.addParameters(bowMod.getAttribute("config"));
}
mod.setDict(dict);
mod.init();
dict.addModifier(mod);
}
//Load the test sets
System.out.println("Loading test sets");
NodeList docs=root.getElementsByTagName("testset");