Re: RUTA: NPE in RutaLiteralMatcher

2021-07-27 Thread Erik Fäßler
of Ruta do you use? It looks like you use an old version > in your maven dependencies, in which this bug hasn't been fixed yet. > > > Best, > > > Peter > > Am 27.07.2021 um 12:06 schrieb Erik Fäßler: >> Hi everyone, >> >> I have been having an issue wi

RUTA: NPE in RutaLiteralMatcher

2021-07-27 Thread Erik Fäßler
Hi everyone, I have been having an issue with literal matching for quite some time now. In the past, I just replaced all literal matching with word lists. In my current script, however, this would be rather cumbersome. The error looks like this: java.lang.NullPointerException: null at

Re: Packaging RUTA annotators

2021-04-19 Thread Erik Fäßler
Hi, this is quite doable, I do it all the time. UIMA fit would be of help here, it has some nice helper methods to load annotators (and readers and consumers) by name, i.e. by a descriptor on the class path. As to how to create the JAR, I nice way might be to set up a maven project and use the

Re: RUTA: Copy features into new annotation

2021-01-13 Thread Erik Fäßler
ng versions of RUTA and Eclipse or something. Thank you! Erik > > > Best, > > > Peter > > > >> >> construction so this enumeration-annotation-merging might actually be easy >> and I just don’t see it. >> >> Thank you so much! >> >&

Re: RUTA: Copy features into new annotation

2021-01-10 Thread Erik Fäßler
onId)};}; construction so this enumeration-annotation-merging might actually be easy and I just don’t see it. Thank you so much! Erik > On 10. Jan 2021, at 16:21, Peter Klügl wrote: > > Hi, > > > Am 07.01.2021 um 14:55 schrieb Erik Fäßler: >> Hi Peter and thank you once again for

Re: RUTA: Copy features into new annotation

2021-01-07 Thread Erik Fäßler
t; -> Person ("id" = "1"); > "Biden" -> Person ("id" = "2"); > "and" -> CC; > > COMMA? @CC{-> EnumCC}; > > // identify enum span > (Person (COMMA Person)* EnumCC Person){-> PersonEnumeration}; >

RUTA: Copy features into new annotation

2021-01-05 Thread Erik Fäßler
Hello everyone (and a happy new year :-)), I have been working on the following issue: Whenever there is conjunction in text of two entities (e.g. [...]Biden and Trump ran for president […]) I create a new annotation spanning both entities and the conjunction ([Biden and Trump]_coordination).

Pipeline Builder & Runner for JULIE Lab JCoRe Components

2020-10-05 Thread Erik Fäßler
Dear users of UIMA, the JULIE Lab of the Friedrich Schiller University in Jena has a long standing tradition of creating UIMA components for our needs. We have been publishing our components under the JCoRe brand for quite some years now. The components themselves may be found in code form on

Re: Ruta: Loading ressources from classpath?

2020-03-05 Thread Erik Fäßler
ch didn’t work. So sorry to bother, I got it now :-) > On 5. Mar 2020, at 12:56, Peter Klügl wrote: > > Hi Erik, > > > I thought classpath lookup should be possible. I'll check that and get > back to you (probably tomorrow) > > > Best, > > > Peter &

Re: Ruta: Loading ressources from classpath?

2020-03-05 Thread Erik Fäßler
! Best, Erik > On 5. Mar 2020, at 12:56, Peter Klügl wrote: > > Hi Erik, > > > I thought classpath lookup should be possible. I'll check that and get > back to you (probably tomorrow) > > > Best, > > > Peter > > > Am 04.03.2020 um 16:10 schr

Ruta: Loading ressources from classpath?

2020-03-04 Thread Erik Fäßler
I have created a Ruta script and now I want it to use as a UIMA AE. Thanks to the Maven plugin, I created the AE descriptor which I could get to work easily. I have packaged the whole component into a single JAR which I then use via the Maven dependency mechanism. This works fine until I try to

Re: Build Error with Concept Mapper 2.10.2

2019-06-01 Thread Erik Fäßler
Hey, it is an NPE in the type system where it tries to get the internal code of a type for its name. One parameter of the ConceptMapper is that name of type that should be created for matches. Did you set this parameter? Because I think this exception could be explained by the type name being

Re: Ruta start issues

2019-03-01 Thread Erik Fäßler
the >> years, I would love to use it in my work. >> >> Best, >> >> Erik >> >>> >>> Best, >>> >>> >>> Peter >>> >>> >>> >>> Am 01.03.2019 um 12:37 schrieb Erik Fäßler: &

Re: Ruta start issues

2019-03-01 Thread Erik Fäßler
in my work. Best, Erik > > > Best, > > > Peter > > > > Am 01.03.2019 um 12:37 schrieb Erik Fäßler: >> Hi all, >> >> I am trying to get started with UIMA Ruta. It really looks like an >> interesting and useful project. So I installed a fr

Ruta start issues

2019-03-01 Thread Erik Fäßler
Hi all, I am trying to get started with UIMA Ruta. It really looks like an interesting and useful project. So I installed a fresh Eclipse, downloaded the 2.7 source distribution from the UIMA download page and imported the ExampleProject. When I try to run the Main.ruta script with JRE 11.0.2

Re: XML files as input to UIMA?

2019-02-27 Thread Erik Fäßler
looking at doing is unifying this > better so that it is all one process. Looking at your reader, I can see how > it all could work. Nice! > > Bonnie MacKellar > > On Wed, Feb 27, 2019 at 3:29 AM Erik Fäßler > wrote: > >> Dear Bonnie, >> >> oh, sorry

Re: XML files as input to UIMA?

2019-02-27 Thread Erik Fäßler
n old version of UIMA - 2.81.1. Does > this require a later version? > > thanks > Bonnie MacKellar > > On Mon, Feb 25, 2019 at 8:37 AM Erik Fäßler > wrote: > >> Dear Bonnie, >> >> please check out >> https://github.com/JULIELab/jcore-base/tree/v2.4/

Re: XML files as input to UIMA?

2019-02-25 Thread Erik Fäßler
e been proposed in the meantime or something entirely different. Best, Erik > On 22. Feb 2019, at 13:17, Bonnie MacKellar wrote: > > Thanks so much! > > Bonnie MacKellar > > On Fri, Feb 22, 2019 at 7:03 AM Erik Fäßler > wrote: > >> Hey, >> >> j

Re: XML files as input to UIMA?

2019-02-22 Thread Erik Fäßler
he > right thing. If you can make it available, I would definitely be > interested. I will take a look at the other links as well. Thanks!! > > Bonnie MacKellar > > On Wed, Feb 20, 2019 at 3:54 AM Erik Fäßler > wrote: > >> Dear Bonnie, >>

Re: XML files as input to UIMA?

2019-02-20 Thread Erik Fäßler
Dear Bonnie, are you talking about the clinical trial XML format used by ClinicalTrials. gov by any chance? If so, I did create a UIMA reader for these data. Its not perfect but perhaps enough for your purposes and also you might want to enhance it. Please let me

Restrict resource of a DUCC node

2018-07-25 Thread Erik Fäßler
Hi all, is there a way to tell DUCC how much resources of a node it might allocate to jobs? My issue is that when I let DUCC scale out my jobs with an appropriate memory definition via process_memory_size, I get a lot of “Init Fails” where each failed process log shows # # There is

Re: Batch Checkpoints with DUCC?

2018-05-16 Thread Erik Fäßler
//uima.apache.org/d/uima-ducc-2.2.2/duccbook.html#x1-1880009.3 > > In particular, the 3rd option, "Flushing cached data". This assumes that > the batch of work to be flushed is represented by each workitem CAS. > > Regards, > Eddie > > On Tue, May 15, 2018 a

Batch Checkpoints with DUCC?

2018-05-15 Thread Erik Fäßler
And another question concerning DUCC :-) With my CPEs I use a lot the batchProcessingComplete() and collectionProcessingComplete() methods. I need them because I do a lot of database interactions where I need to send data in batches due to the overhead of network communication. How is that

Re: DUCC and CAS Consumers

2018-04-17 Thread Erik Fäßler
ou specifying to DUCC all three component descriptors: CM, AE and CC? > I'm guessing not, but rather your CM is included in the AAE aggregate given > to DUCC as the AE_Descriptor. Can you confirm? > > Eddie > > On Fri, Apr 13, 2018 at 8:21 AM, Erik Fäßler <erik.faess...@un

Re: DUCC and CAS Consumers

2018-04-13 Thread Erik Fäßler
Hi Eddie, thanks for the reply! I did indeed create a CR and a CM where the CR only sends file references which are then processed by the CM into new CASes. You wrote > The initial CAS created by the driver normally does not flow into the > AE, but typically does flow to the CC after all child

DUCC and CAS Consumers

2018-04-11 Thread Erik Fäßler
Hi all, I am doing my first steps with UIMA DUCC. I stumbled across the issue that my CAS consumer has allowMultipleDeployments=false since it is supposed to write multiple CAS document texts into one large ZIP file. DUCC complains about the discrepancy of the processing AAE being allowed for

Re: UIMAfit CpeBuilder not compatible with CasMultipliers

2018-04-05 Thread Erik Fäßler
Let me answer my own question. The CpeBuilder only unwraps the *first* AAE level. Thus, I just had two wrap my CasMultiplier twice and then it works. Sorry to disturb :-) > On 5. Apr 2018, at 09:09, Erik Fäßler <erik.faess...@uni-jena.de> wrote: > > Hi all, > > I wanted to

UIMAfit CpeBuilder not compatible with CasMultipliers

2018-04-05 Thread Erik Fäßler
Hi all, I wanted to use a CPE containing an AAE with a CASMultiplier with the UIMAfit CpeBuilder. But it wouldn’t work, the Multiplier would be iterated through but its CASes wouldn’t be forwarded to downstream AEs. I learned that the CpeBuilder unwraps AAEs to gain access to their parameters.

Re: Synchonizing Batches AE and StatusCallbackListener

2017-04-25 Thread Erik Fäßler
concern. I am a bit fuzzy on >>implementation so perhaps someone else can comment how to implement >>batching and how to handle errors. You can use a CasMultipler and a >> custom >>FlowController to manage CASes and react to errors.The UIMA-AS service >> can >>take an input

Re: Synchonizing Batches AE and StatusCallbackListener

2017-04-21 Thread Erik Fäßler
ite a long time ago. > Perhaps UIMA-AS can work better for you. You can read about it here: > https://uima.apache.org/d/uima-as-2.9.0/uima_async_scaleout.html > > Jerry > UIMA Team > > On Tue, Apr 18, 2017 at 5:56 AM, Erik Fäßler <erik.faess...@uni-jena.de> > wr

Synchonizing Batches AE and StatusCallbackListener

2017-04-18 Thread Erik Fäßler
Hi all, I have a use case where a consumer of mine sends CAS XMI data into a database in batchProcessComplete(). I also use a StatusCallbackListener that logs into the database whether a document has been completed processing, this is also done batch wise. Now the issue is, if the pipeline

Re: Performance of UIMAfit JCasUtil.selectCovered() and variants

2015-10-22 Thread Erik Fäßler
actor 4.00 [naive:16 optimized:4 diff:12] > Speed up factor 2.50 [naive:30 optimized:12 diff:18] > Speed up factor 7.00 [naive:35 optimized:5 diff:30] > Speed up factor 5.63 [naive:45 optimized:8 diff:37] > Speed up factor 7.78 [naive:70 optimized:9 diff:61] > Speed up factor 8.09

Re: Performance of UIMAfit JCasUtil.selectCovered() and variants

2015-10-22 Thread Erik Fäßler
factor 5.63 [naive:45 optimized:8 diff:37] > Speed up factor 7.78 [naive:70 optimized:9 diff:61] > Speed up factor 8.09 [naive:89 optimized:11 diff:78] > ... > > Cheers, > > -- Richard > >> On 21.10.2015, at 17:07, Erik Fäßler <erik.faess...@uni-jena.de> wrote: &g

Performance of UIMAfit JCasUtil.selectCovered() and variants

2015-10-21 Thread Erik Fäßler
Hi all, I’m wondering about the performance differences between 1) JCasUtil.selectCovered(JCas, Class, AnnotationFS), 2) JCasUtil.selectCovered(JCas, Class, int, int) and 3) JCasUtil.indexCovered(JCas, Class, Class) It is clear that 3) iterates once through the CAS and just returns a map. Once

Re: AW: AW: Lucas

2014-08-28 Thread Erik Fäßler
Erik, in Lucene 4.9 (maybe earlier), you can replace the Lucene analyzer with a UIMA pipeline. At least the docs say so. I don't know how good it is becaus I've never used it. Cheers, Armin On 8/26/14, Erik Fäßler erik.faess...@uni-jena.de wrote: Hi all, actually, I don't use LuCas

Re: AW: AW: Lucas

2014-08-26 Thread Erik Fäßler
or Solrcas for the current version of Lucene? Cheers, Armin -Ursprüngliche Nachricht- Von: Erik Fäßler [mailto:erik.faess...@uni-jena.de] Gesendet: Freitag, 22. August 2014 16:34 An: user@uima.apache.org Betreff: Re: AW: Lucas I am using LuCas in production in the last

FeaturePath with FSArray

2014-04-08 Thread Erik Fäßler
Hi all, I have a component where a parameter is supposed to be a FeaturePath string, e.g. /address/streetname Another parameter would be the type name, e.g. “person”. The component would now get an iterator over all “person” instances in the CAS and from each person geht the name of the

Re: How to use CollectionReader PEAR

2014-02-05 Thread Erik Fäßler
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

How to use CollectionReader PEAR

2014-02-03 Thread Erik Fäßler
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

Cannot set values in CasProcessorConfigurationParameterSettingsImpl

2013-05-30 Thread Erik Fäßler
Hi all, I am working with a CPE descriptor which is loaded by my Java application, adopted to some parameters given to the application, creates the CPE and runs it. Now I wanted to set a parameter value of an AE where this value was not overridden in the CPE descriptor but only set in the AE

Re: PEAR Classpath issues

2012-07-27 Thread Erik Fäßler
Hi Thilo! Thanks for your answer! Some comments and further questions below: Am 27.07.2012 um 08:24 schrieb Thilo Goetz: I did intentionally not include my libraries in the classpath here, because the documentation says, The buildComponentClasspath method of the PackageBrowser class builds

PEAR Classpath issues

2012-07-26 Thread Erik Fäßler
Hi all, I know this question has been asked a few times in the past years but I didn't really come to a definite answer or a solution to the problem. The issue is to use a PEAR packaged simple AE in a pipeline without setting the classpath manually. On the contrary, my primary goal is to make

Re: Maven UIMA and import by name

2012-05-11 Thread Erik Fäßler
that allow you to resolve the import of descriptors by name. Thanks, Thomas Ginter 801-448-7676 thomas.gin...@utah.edu On May 11, 2012, at 9:56 AM, Erik Fäßler wrote: Hello all, I have a question on how you deal with a specific use case and would like to know if you have some