sorry i didn't finish writing when i pushed send. Actually my types are
Lemma (with feature lemma), Term (with features lemma and postag) and
POSTag (with feature postag) and i was learning rules with the feature
lemma only.

And for this:

this.activeFeatures = new
ArrayList<String>(tokenAnnotation.getFeatureMap().keySet());

I didn't get your point. In the featureMap there are only features we want
to consider, so what is the problem? For types not concerned, this map is
empty anyway.

Best,
Sondes

Reply via email to