In-memory ConceptMapper dictionary loader

2014-05-29 Thread Kline, Larry
I am attempting to write a dictionary loader for ConceptMapper that creates its dictionary entries from database queries and loads them directly into memory, rather than creating an XML file that is loaded as a resource in the pear. My primary motivation for this is if the database changes we c

Re: Collection Readers and File Format Filtering

2014-05-29 Thread Richard Eckart de Castilho
Hello Oli, I know of two strategies: 1) READER+AE: use a reader to control from where the data is retrieved. The reader reads the raw data format, e.g. a PDF file. Then a subsequent analysis engine converts the raw data into what is actually to be processed, e.g. extracting the text from the P

Collection Readers and File Format Filtering

2014-05-29 Thread Oliver Christ
Hi, >From my (still very limited) UIMA experience it seems that collection readers >address how to retrieve documents from some location and how to import (or >filter) that document into the CAS. Filtering (i.e. file format-specific processing) can be seen as independent of where the data is r

Re: Can we call Ducc Service using UIMA AS client API?

2014-05-29 Thread Jaroslaw Cwiklik
You can use UIMA-AS client API. All you need to know is the endpoint and the broker url to communicate. Jerry C On Wed, May 28, 2014 at 8:53 AM, reshu.agarwal wrote: > > Hi, > > I am just curious about DUCC Service uses. Can we call Ducc Service using > UIMA AS client API. Or there is any API i

Re: UIMA Dynamic Regex

2014-05-29 Thread Richard Eckart de Castilho
Parameters are not passed directly as method arguments in plain UIMA. To access parameters in a component, you obtain the UIMAContext from the component and from it you can get the parameter values. Here an excerpt on how to access a parameter value from InlineXmlCasConsumer: public static final