ae.process(cas);
CasConsumerDescription casConsumerDescription = UIMAFramework.getXMLParser().parseCasConsumerDescription(
new XMLInputSource(new File(casConsumerDescriptorLocation)));
CasConsumer casConsumer = UIMAFramework.produceCasConsumer(casConsumerDescription);
System.out.println("CasConsumer initialized. Calling processCas....");
casConsumer.processCas(cas);
System.out.println("processCas completed....");
}
catch(Exception e)
{
e.printStackTrace();