ashok | 17 Sep 21:13 2014
Picon

UIMA usecases

Hi,

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.

Thanks
Ashok

James Baker | 17 Sep 11:33 2014
Picon

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.

Thanks,
James
Sabrina Masson | 13 Sep 20:54 2014
Picon

ResourceInitializationException

Hi!

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:

"org.apache.uima.resource.ResourceInitializationException:
 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 
descriptor 
file:/C:/Users/Sabrina/workspace/CompaniesTechnologiesAnnotator/desc/analysis_engine/ClientPartnerCompetitorAndTechnologyAnnotator.xml
 Caused by: org.apache.uima.resource.ResourceInitializationException: 
Could not acess the resource data at 
file:ist/utl/pt/link/entities/dictionaries/Parceiros.txt".

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,
Sabrina.
 		 	   		  
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 ?


Gmane