Re: Share database connections between annotators

2014-09-17 Thread Richard Eckart de Castilho
nd then referenced somehow? >>> I'm not sure how to do it with configuration Files. I create and inject >> them using UIMAfit [1]. >>> >>> >>> Regards, >>> >>> Johannes >>> >>> [1] >> https://uima.apach

Re: Share database connections between annotators

2014-09-17 Thread James Baker
g UIMAfit [1]. > > > > > > Regards, > > > > Johannes > > > > [1] > https://uima.apache.org/d/uimafit-current/tools.uimafit.book.html#d5e387 > > - Original Message - > > From: "James Baker" > > To: user@uima.apache.org > >

Re: Share database connections between annotators

2014-09-17 Thread Richard Eckart de Castilho
; - Original Message - > From: "James Baker" > To: user@uima.apache.org > Sent: Wednesday, September 17, 2014 12:20:54 PM > Subject: Re: Share database connections between annotators > > Thanks Johannes, > > I've not used External Resources before and

Re: Share database connections between annotators

2014-09-17 Thread Johannes Darms
ing UIMAfit [1]. Regards, Johannes [1] https://uima.apache.org/d/uimafit-current/tools.uimafit.book.html#d5e387 - Original Message - From: "James Baker" To: user@uima.apache.org Sent: Wednesday, September 17, 2014 12:20:54 PM Subject: Re: Share database connections between annotators

Re: Share database connections between annotators

2014-09-17 Thread Richard Eckart de Castilho
the different Annotators >> in your AE. >> >> Regards, >> >> Johannes >> >> [1] >> https://uima.apache.org/d/uimafit-current/tools.uimafit.book.html#ugr.tools.uimafit.externalresources >> >> ----- Original Message - >> From: &quo

Re: Share database connections between annotators

2014-09-17 Thread James Baker
gt; > Regards, > > Johannes > > [1] > https://uima.apache.org/d/uimafit-current/tools.uimafit.book.html#ugr.tools.uimafit.externalresources > > - Original Message - > From: "James Baker" > To: user@uima.apache.org > Sent: Wednesday, September

Re: Share database connections between annotators

2014-09-17 Thread Johannes Darms
.html#ugr.tools.uimafit.externalresources - Original Message - From: "James Baker" To: user@uima.apache.org Sent: Wednesday, September 17, 2014 11:33:58 AM Subject: Share database connections between annotators What is the best way of sharing a database connection (in my case, to MongoDB) between annotators

Share database connections between annotators

2014-09-17 Thread James Baker
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 numbe