FeatureValue value = null;
String[] keys = fs.getFeatureNames();
for (int i = 0; i < keys.length; i++) {
value = fs.getFeatureValue(keys[i]);
if (value instanceof PrimitiveValueImpl || value instanceof PrimitiveValue) {
keyFrame.add("", new FrameLeaf(value.toString()));
}
}
// Convert the type to make
String type = fs.getType();
if (type.indexOf(org.apache.uima.collection.impl.cpm.Constants.LONG_COLON_TERM) > -1) {