token.setStringValue(lemmaFeat, type1);
cas.getIndexRepository().addFS(token);
String lemma = "the";
FSIterator<AnnotationFS> it = cas.getAnnotationIndex(tokenType).iterator();
FSStringConstraint type1Constraint = cas.getConstraintFactory().createStringConstraint();
type1Constraint.equals(lemma);
ArrayList<String> path = new ArrayList<String>();
path.add(lemmaFeat.getShortName());
FSMatchConstraint cons = cas.getConstraintFactory().embedConstraint(path, type1Constraint);
it = cas.createFilteredIterator(it, cons);