@Override
protected void activate(ComponentContext ctx) throws ConfigurationException {
super.activate(ctx);
Dictionary<String, Object> props = ctx.getProperties();
this.sourceNames = (String[]) props.get(UIMA_SOURCENAMES);
this.tnfs = new FeatureStructureFilter();
String[] typeNameStrings = (String[]) props.get(UIMA_TYPENAMES);
if (typeNameStrings != null) {
for (String typ : typeNameStrings) {
String[] mainparts = typ.split(";", 2);
FeatureFilter tnf = new FeatureFilter();