Improving UIMA efficiency