decoder = new OneVsAllDecoder(new BufferedReader(new InputStreamReader(zin)));
}
}
if (algorithmName.equals(AbstractDepParser.ALG_SHIFT_EAGER))
return new ShiftEagerParser(AbstractParser.FLAG_PREDICT, xml, map, decoder);
else if (algorithmName.equals(AbstractDepParser.ALG_SHIFT_POP))
return new ShiftPopParser(AbstractParser.FLAG_PREDICT, xml, map, decoder);
else
return null;
}