Renaud Richardet | 29 Aug 09:34 2014
Picon

RUTA: case insensitive regex rule?

(How) can I make the following rule Case Insensitive?

"\\b((inter)?neurone?s?|cells?)\\b" -> Neuron;

Thanks, Renaud
Vinod | 24 Aug 20:26 2014
Picon

deploying a pear in a distributed environment

Hello! 
I am looking to deploy a pear in a distributed environment, 
I was wondering if there are any 
recommendations from people that have already done this! 
Or maybe pear is not the way to go - 
please enlighten me! 
I would appreciate your comments. Thanks, Vinod.

Pedro Santos | 22 Aug 17:14 2014
Picon

[ANNOUNCE] DKPro Core 1.6.2 released


We are pleased to announce the release of DKPro Core, version 1.6.2 (ASL & GPL) a collection of
interoperable software components for natural language processing
(NLP) based on the Apache UIMA framework.

. http://code.google.com/p/dkpro-core-asl
. http://code.google.com/p/dkpro-core-gpl

Bug fixes:

. io.conll - Conll2006Reader does not support POS-tag mapping
. io.tcf - Dependencies leak between sentences
. opennlp - Unable to set model of OpenNlpSegmenter

A more detailed overview of the changes in this release can be found here:

https://code.google.com/p/dkpro-core-asl/issues/list?can=1&q=label:Milestone-1.6.2

When upgrading, please mind that you should not mix different versions of DKPro Core components in your
projects - they may not be compatible with each other.

-- Pedro Santos, for the DKPro Core development team

Renaud Richardet | 21 Aug 15:31 2014
Picon

Ruta-server to easily deploy Apache RUTA projects as web services

Thanks Alexandre and Peter for your inputs,

In the end I think I will use the Annotation Testing view.

On a different note, I just created a small project to expose Apache RUTA
projects as web services:
http://renaud.github.io/easily-deploying-apache-ruta-projects-as-web-services.html

Let me know if you would be interested in integrating it into the RUTA
codebase. It's basically 3 java classes and 1 config file.

Best, Renaud

On Tue, Aug 19, 2014 at 9:59 AM, Peter Kl├╝gl <pkluegl@...>
wrote:

> Hi,
>
> in addition to alexandre's reply:
>
> We normally use the Annotation Testing view in the Ruta Workbench for
> only testing the functionality of rules for an application (not the ruta
> implementation), but view builts on xmi and supports no text specification.
>
> If you implement something, consider to contribute it :-)
>
> Best,
>
> Peter
>
(Continue reading)

Swirl | 20 Aug 08:04 2014
Picon

Uima AS out of memory

Hi,
I have deployed a AE onto a Uima AS node. 
But when I use it to analyse some documents, i got OutOfMemoryError: Java heap 
space.
I know that the AE is taking large amount of memory due to it loading many 
resources.

How can I increase the memory allocated to it in the Uima AS so that I can 
avoid the error?

Thanks.

Renaud Richardet | 18 Aug 23:30 2014
Picon

Ruta - best practices for unit tests?

Hello,

What are best practices for writing unit tests for Ruta?

Ideally, I would like to have 1) tests that can be run on the command line
(so as to automate them in Jenkins), and 2) where input and expected output
can be edited in a text editor (meaning: not xmi's or java code).

For 1), I was thinking about writing a script to automate testing
For 2), I was about to write the expected output in a simple xml or json
format, but if something already exists, that would be great.

Thanks, Renaud
Alexandre Patry | 7 Aug 17:37 2014

Loading a resource from the classpath

Hi,

I would like to locate a resource in the classpath, something along the 
lines of:

<externalResource>
   <name>LocationDictionary</name>
   <description>Dictionary of locations</description>
   <fileResourceSpecifier>
     <!-- Search this file in the classpath instead of the filesystem -->
     <fileUrl>path/in/jar/location-dictionary.xml</fileUrl>
   </fileResourceSpecifier>
   <implementationName>org.apache.uima.conceptMapper.support.dictionaryResource.DictionaryResource_impl</implementationName>
</externalResource>

Is it possible with existing resource specifiers or do I have to write 
my own and use a CustomResourceSpecifier?

Thanks!

Alexandre

--

-- 
Alexandre Patry, Ph.D
Chercheur Principal / Principal Researcher
http://KeaText.com

shreya | 6 Aug 07:33 2014
Picon

uima concept mapper : multi threading issue

Hi,
I am using UIMA for annotating some documents using Concept Mapper. I have 
built the dictionaries and configured it to our requirements. It gives 
expected results in case of single threaded requests.
However in multithreaded environment, it gives exception in the concept 
mapper add on code, giving blank result for some documents.

Exception:
Caused by: 
org.apache.uima.analysis_engine.annotator.AnnotatorProcessException: Trying 
to access value of feature  as "uima.cas.FSArray", but range of feature is 
"uima.cas.FSArray".

Is concept mapper add on thread safe ?

reshu.agarwal | 31 Jul 12:47 2014

is DUCC having UIMA AS remote Analysis Engine functionality for Deployment descripter?


Hi,

Can we deploy a analysis Engine separately and use UIMA AS remote 
Analysis Engine functionality for Deployment Descripter(DD) in 
Submitting a job?

As there is a functionality in UIMA AS that we can deploy analysis 
engine remotely and then use it into DD. I want to have same 
functionality in DUCC.\

Please help me. If this work it will help me a lot.

Thanks in advance

--

-- 

Reshu Agarwal

Swirl | 31 Jul 03:08 2014
Picon

Deploy entire uima as service in multiple nodes

Hi,
I am trying to use Uima AS to deploy one of my UIMA Aggregate AE.
I wish to deploy it as a Uima AS Primitive, i.e. I do not need the delegates 
of this AE to be scaled out. Instead I just want to scale out the Uima 
aggregate AE only. I want to deploy the AE in multiple nodes.

So far the documentation I've read all talked about scaling out the delegates 
of a Uima Aggregate remotely (effectively turning the Uima Aggregate into a 
Uima AS Aggregate). But I cant find any guide on how to deploy a Uima 
Aggregate as AS services remotely, on multiple nodes and the way to invoke 
these services.

Egbert van der Wal | 28 Jul 17:46 2014
Picon

UIMA AS NullPointerException in CasDefinition constructor

Hi,

 

I'm trying to convert an existing and functional UIMA pipeline to a UIMA AS pipeline.

 

I'm getting there, I created deployment descriptors for the annotators and when running my application all individual annotators are launched correctly. The composite analysis engine also loads fine but I'm getting a NullPointerException when calling initialize(deployCtx) on the UimaAsEngine on line 66. See the attached text document for the full exception.

 

 

I found a similar issue in the bug tracker which was fixed in UIMA AS 2.3:

 

https://issues.apache.org/jira/browse/UIMA-1376

 

But this seems to arise in mergeTypeSystem and this does not seem to be the case in my situation. The line number is the same however.

 

Any clues on where I should look for the solution? Are my descriptors faulty? Is the Java code faulty? Or is this a bug in UIMA AS 2.4.0? How can I debug this issue?

 

Thanks,

 

Egbert

 

 

Jul 28, 2014 5:10:24 PM org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl setupConnection
INFO: UIMA AS Client Created Shared Connection To Broker: tcp://localhost:61616
Jul 28, 2014 5:10:24 PM org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl initializeProducer
INFO: Initializing JMS Message Producer. Broker: tcp://localhost:61616 Queue Name: SpotterQueue
Jul 28, 2014 5:10:24 PM org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl initializeConsumer
INFO: Initializing JMS Message Consumer. Broker: tcp://localhost:61616 Queue Name: ID:Idefix-51211-1406560187218-0:51:1
Jul 28, 2014 5:10:24 PM org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl notifyOnInitializationFailure
WARNING: Top Level Controller Initialization Exception.
java.lang.NullPointerException
        at org.apache.uima.resource.CasDefinition.<init>(CasDefinition.java:66)
        at org.apache.uima.resource.impl.CasManager_impl.getCasDefinition(CasManager_impl.java:95)
        at org.apache.uima.resource.impl.CasManager_impl.createNewCas(CasManager_impl.java:198)
        at org.apache.uima.util.CasPool.fillPool(CasPool.java:315)
        at org.apache.uima.util.CasPool.<init>(CasPool.java:187)
        at org.apache.uima.resource.impl.CasManager_impl.defineCasPool(CasManager_impl.java:176)
        at org.apache.uima.resource.impl.CasManager_impl.defineCasPool(CasManager_impl.java:153)
        at org.apache.uima.aae.EECasManager_impl.defineCasPool(EECasManager_impl.java:56)
        at org.apache.uima.aae.AsynchAECasManager_impl.initialize(AsynchAECasManager_impl.java:97)
        at org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.initialize(BaseUIMAAsynchronousEngine_impl.java:765)
        at nl.novay.keywordSpotter.KeywordSpotterAS.initializeEngine(KeywordSpotterAS.java:576)
        at nl.novay.keywordSpotter.KeywordSpotterAS.run(KeywordSpotterAS.java:507)
        at nl.novay.keywordSpotter.KeywordSpotterAS.main(KeywordSpotterAS.java:374)

org.apache.uima.resource.ResourceInitializationException
        at org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.initialize(BaseUIMAAsynchronousEngine_impl.java:794)
        at nl.novay.keywordSpotter.KeywordSpotterAS.initializeEngine(KeywordSpotterAS.java:576)
        at nl.novay.keywordSpotter.KeywordSpotterAS.run(KeywordSpotterAS.java:507)
        at nl.novay.keywordSpotter.KeywordSpotterAS.main(KeywordSpotterAS.java:374)
Caused by: java.lang.NullPointerException
        at org.apache.uima.resource.CasDefinition.<init>(CasDefinition.java:66)
        at org.apache.uima.resource.impl.CasManager_impl.getCasDefinition(CasManager_impl.java:95)
        at org.apache.uima.resource.impl.CasManager_impl.createNewCas(CasManager_impl.java:198)
        at org.apache.uima.util.CasPool.fillPool(CasPool.java:315)
        at org.apache.uima.util.CasPool.<init>(CasPool.java:187)
        at org.apache.uima.resource.impl.CasManager_impl.defineCasPool(CasManager_impl.java:176)
        at org.apache.uima.resource.impl.CasManager_impl.defineCasPool(CasManager_impl.java:153)
        at org.apache.uima.aae.EECasManager_impl.defineCasPool(EECasManager_impl.java:56)
        at org.apache.uima.aae.AsynchAECasManager_impl.initialize(AsynchAECasManager_impl.java:97)
        at org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.initialize(BaseUIMAAsynchronousEngine_impl.java:765)
        ... 3 more

Gmane