You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Erik Fäßler <er...@uni-jena.de> on 2014/02/03 10:32:04 UTC

How to use CollectionReader PEAR

Hi all,

I wanted to integrate a CollectionReader packaged as a PEAR to my CPE. The PEAR package can be downloaded here:

http://www.inf.u-szeged.hu/rgai/conll2010st/download.php

by clicking on “UIMA”.

Then however I got kind of stuck: I just thought I would use the PEAR descriptor as the CollectionReader of my CPE. This does not seem to work. But if I don’t use the PEAR descriptor, I would have to set the CLASSPATH for the PEAR components manually by sourcing the setenv.txt. I just can’t believe that’s the way to go, isn’t there an easier, more integrated way to use a CollectionReader in a PEAR?

I really hope so but currently don’t see how to make this work in an elegant way. I hope you can help me :-)

Thanks and best regards,

Erik

Re: How to use CollectionReader PEAR

Posted by Erik Fäßler <er...@uni-jena.de>.
Hi Jens,

thank you for your answer! Then you made the exact same experience as we did. I’m only wondering then what the intended usage of PEARs having a CollectionReader as a main component is. Probably just as a default format but you have to configure it manually.

Thanks again and best regards,

Erik

On 04 Feb 2014, at 17:02, Jens Grivolla <j+...@grivolla.net> wrote:

> Hi Erik,
> 
> On 03/02/14 10:32, Erik Fäßler wrote:
> 
>> Then however I got kind of stuck: I just thought I would use the PEAR descriptor as the CollectionReader of my CPE. This does not seem to work. But if I don’t use the PEAR descriptor, I would have to set the CLASSPATH for the PEAR components manually by sourcing the setenv.txt. I just can’t believe that’s the way to go, isn’t there an easier, more integrated way to use a CollectionReader in a PEAR?
> 
> We used to work with PEARs and were not able to use them directly for CollectionReaders.  The PEAR descriptors work fine for AEs and CasConsumers, but we found no way around putting the CRs on the classpath and using the "normal" descriptors.
> 
> Best,
> Jens
> 


Re: How to use CollectionReader PEAR

Posted by Jens Grivolla <j+...@grivolla.net>.
Hi Erik,

On 03/02/14 10:32, Erik Fäßler wrote:

> Then however I got kind of stuck: I just thought I would use the PEAR descriptor as the CollectionReader of my CPE. This does not seem to work. But if I don’t use the PEAR descriptor, I would have to set the CLASSPATH for the PEAR components manually by sourcing the setenv.txt. I just can’t believe that’s the way to go, isn’t there an easier, more integrated way to use a CollectionReader in a PEAR?

We used to work with PEARs and were not able to use them directly for 
CollectionReaders.  The PEAR descriptors work fine for AEs and 
CasConsumers, but we found no way around putting the CRs on the 
classpath and using the "normal" descriptors.

Best,
Jens