Hi - it seems the descriptor (at least as posted) is invalid? It
appears to have
unmatched XML tags in it?
Assuming these were typos- can you post what version of UIMA you're
seeing this issue with?
-Marshall
Katja Buyko wrote:
<typeDescription>
<name>de.julielab.jules.types.PennPOS</name>
<description></description>
<supertypeName>uima.cas.String</supertypeName>
<allowedValues>
<value>
<string>CC</string>
<description>Coordinating conjunction</description>
</value>
<value>
<string>CD</string>
<description>Cardinal number</description>
</value>
<value>
<string>DT</string>
<description>Determiner</description>
</value>
<value> <!-- APPEARS TO BE EXTRA??? -->
</allowedValues>
</typeDescription>
<typeDescription> <!-- APPEARS TO BE EXTRA ??? -->
Annotator:
posTag = "CD";
PennPOSTag pos = new PennPOSTag(aJCas, token.getBegin(),token.getEnd() );
((PennPOSTag)pos).setValue(posTag);
With best regards
E. Buyko