import org.apache.uima.alchemy.digester.exception.UnsupportedResultFormatException;
public class ConceptTaggingDigesterProvider implements DigesterProvider {
public OutputDigester getDigester(String type) throws UnsupportedResultFormatException {
Validate.notEmpty(type);
OutputDigester digester = null;
if (type.equals("json")) {
digester = new JsonTextConceptDigester();
} else if (type.equals("xml")) {
digester = new XMLTextConceptDigester();
} else