ashok | 17 Sep 21:13 2014

UIMA usecases


We planned to use UIMA for text search. Could you please share where can we 
use UIMA and how to use this architecture.

I am experienced in C# technologies. If .net doesnot support, then I can work 
with Java.

please reply me.


James Baker | 17 Sep 11:33 2014

Share database connections between annotators

What is the best way of sharing a database connection (in my case, to
MongoDB) between annotators?

Currently, I instantiate a new database connection for each annotator, but
as my UIMA pipeline now has over 50 annotators (not all of which connect to
the database), I am ending up with a large number of database connections.
Ideally, I'd like to move to a single connection pool that can be shared by
the annotators. The Mongo driver supports connection pooling, but I'm
unsure how best to implement in UIMA.

Any advice would be appreciated.

Sabrina Masson | 13 Sep 20:54 2014



I'm trying to run a project done with UIMA. I'm using eclipse and 
when I run UIMA CPE GUI from this IDE everything works fine. However, 
when I try to run the same project with the batch file cpeGui located in
 UIMA-HOME/bin i get the following error:

 Initializtion of CAS Processor with name 
'ClientPartnerCompetitorAndTechnologyAnnotator' failed. Caused by: 
org.apache.uima.resource.ResourceConfigurationException: Initialization 
of CAS processor with name 
'ClientPartnerCompetitorAndTechnologyAnnotator' failed. Caused by: 
org.apache.uima.resource.ResourceInitializationException: Error 
initializing 'org.apache.uima.resource.impl.DataResource_impl' from 
 Caused by: org.apache.uima.resource.ResourceInitializationException: 
Could not acess the resource data at 

The file Parceiros.txt is in that path. I don't understand why I get this error message.

Someone could tell me why it is happening?
Thanks in advance,
Renaud Richardet | 29 Aug 09:34 2014

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

deploying a pear in a distributed environment

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

[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.


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:

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

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:

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@...>

> 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

Uima AS out of memory

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

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


Renaud Richardet | 18 Aug 23:30 2014

Ruta - best practices for unit tests?


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


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

   <description>Dictionary of locations</description>
     <!-- Search this file in the classpath instead of the filesystem -->

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




Alexandre Patry, Ph.D
Chercheur Principal / Principal Researcher

shreya | 6 Aug 07:33 2014

uima concept mapper : multi threading issue

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.

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

Is concept mapper add on thread safe ?