Acces external resource outside of an AE

2014-06-25 Thread Hugo Mougard
Dear UIMA list, I've read the different tutorials about resources a couple of times but haven't found a straightforward way to accomplish what I'm trying to do. Using UIMAfit, I declare a resource and use it in several AEs, through a SimplePipeline. Once the processing is done, I'd like to

Re: Acces external resource outside of an AE

2014-06-25 Thread Richard Eckart de Castilho
Hello Hugo, the resource is not stored in the resource manager under the name that you specify, but under a qualified name that consists of the qualified context name and the resource key to which the resource is bound. The proper way to access the resource after the execution would be through

Re: Restricting an aggregate engine to a substring or mention

2014-06-25 Thread Richard Eckart de Castilho
Hi Armin, how would you do the last step: telling the nested AE to process only the mentions of the segment type? As far as I can see, it again boils down to the point that the SegmentProcessingAE would internally create one or more new CASes or view, pass those to the nested AE, and then

AW: Restricting an aggregate engine to a substring or mention

2014-06-25 Thread Armin.Wegner
Hi Richard, you're right. I have to use new CASes or views. Or I can use the same CAS and restrict the analysis engine to a substring. But that would imply having parameters for the substring's begin and end offsets in the analysis engine: Oh, wait a minute, wasn't that my original question?

Re: Acces external resource outside of an AE

2014-06-25 Thread Hugo Mougard
Thank you Richard for the precious help. Indeed, simplifying UIMA is a big selling point of uimaFIT, I wasn't complaining :) Best, Hugo Le 2014-06-25 18:23, Richard Eckart de Castilho a écrit : Hello Hugo, the resource is not stored in the resource manager under the name that you specify,