assertTrue("Morpho Feature value are expected of typed literal", morphoFeature instanceof UriRef);
String feature=((UriRef)morphoFeature).getUnicodeString();
assertFalse("Morpho Feature MUST NOT be empty",feature.isEmpty());
if(feature.startsWith(OLIA_NAMESPACE)){
String key=feature.substring(OLIA_NAMESPACE.length());
NumberFeature cat=NumberFeature.valueOf(key);
assertTrue("Number of "+TERM+" should be "+Gender.Feminine , (cat==NumberFeature.Singular));
}
}
morphoFeatureIterator = enhancements.filter(textAnnotation, CeliLemmatizerEnhancementEngine.hasLemmaForm, null);
assertTrue("No Number Morpho Feature value found for TextAnnotation "+textAnnotation+"!", morphoFeatureIterator.hasNext());