int beams = getBeamSize(eTrain);
if (language.equals(AbstractReader.LANG_EN))
return (models == null) ? new EnglishDEPParser(xmls, spaces, lexica, margin, beams) : new EnglishDEPParser(xmls, spaces, models, lexica, margin, beams);
return (models == null) ? new DefaultDEPParser(xmls, spaces, lexica, margin, beams) : new DefaultDEPParser(xmls, spaces, models, lexica, margin, beams);
}