Hi!

I use UIMA SDK Version 2.0.1.

I am sorry, I have not correctly copied the extract from the Type System, here
is the correct version.

<typeDescription>
<name>de.julielab.jules.types.PennPOSTag</name>
<description></description>
<supertypeName>de.julielab.jules.types.POSTag</supertypeName>
<features>
<featureDescription>
<name>value</name>
<description></description>
<rangeTypeName>de.julielab.jules.types.PennPOS</rangeTypeName>
</featureDescription>
</features>
</typeDescription>

<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>
</allowedValues>
</typeDescription>


With best regards

E. Buyko

Quoting Marshall Schor <[EMAIL PROTECTED]>:

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










----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Reply via email to