Re: UIMA 3.0.0

2017-02-14 Thread Richard Eckart de Castilho
> On 14.02.2017, at 17:35, David Kincaid wrote: > > I see there is a new release of UIMA in the works and it's labeled as > 3.0.0. That jump seems to imply significant changes/updates. Is anyone in > the ctakes community close enough to the UIMA project to know if there is > anything beneficial t

RE: UIMA 3.0.0

2017-02-14 Thread Finan, Sean
Hi Jessica, Many thanks for the link! All: I kind of blew through the intro. It looks like there are some great improvements in 3.0. On first glance - pojo FS; Tonic! However, _Type access can throw Unsupported Exceptions depending upon access. I'm pretty sure that we've got some usage lur

RE: UIMA 3.0.0

2017-02-14 Thread Finan, Sean
Fantastic! Thank you! As we RMs get things organized re: testing tasks, etc. we will keep everybody posted. Everybody can volunteer for whatever testing workflow, etc. has their interest. Sean -Original Message- From: David Kincaid [mailto:kincaid.d...@gmail.com] Sent: Tuesday, Febr

Re: UIMA 3.0.0

2017-02-14 Thread Jessica Glover
Here's a link to the user's guide with the overview, changes, etc. http://uima.apache.org/d/uimaj-3.0.0-alpha/version_3_users_guide.html On Tue, Feb 14, 2017 at 12:12 PM, David Kincaid wrote: > Trello board seems like a good enough idea. I'm willing to help out with > some testing too. > > - Da

Re: UIMA 3.0.0

2017-02-14 Thread David Kincaid
Trello board seems like a good enough idea. I'm willing to help out with some testing too. - Dave On Tue, Feb 14, 2017 at 11:01 AM, Finan, Sean < sean.fi...@childrens.harvard.edu> wrote: > Hi Dave, > > I haven't tried it. I don't even know what major changes there may be ... > Does anybody out

RE: UIMA 3.0.0

2017-02-14 Thread Finan, Sean
Hi Dave, I haven't tried it. I don't even know what major changes there may be ... Does anybody out there know? It would be great to test this before the upcoming ctakes release to see if ctakes is fully compatible ... Man oh man, we have a lot of testing to do before the release ... any help

UIMA 3.0.0

2017-02-14 Thread David Kincaid
I see there is a new release of UIMA in the works and it's labeled as 3.0.0. That jump seems to imply significant changes/updates. Is anyone in the ctakes community close enough to the UIMA project to know if there is anything beneficial to ctakes in there? Has anyone been bold enough to try ctakes

Re: Ctakes is not thread safe [SUSPICIOUS]

2017-02-14 Thread shahid ashraf
I have updated the LVG version to 2017 but still i get error when using multi threading... (Investigating but not able to find anything) Do you have any insights regarding that. On Tue, Feb 14, 2017 at 8:26 PM, Finan, Sean < sean.fi...@childrens.harvard.edu> wrote: > Hi Tim, > > Definitely not

RE: passing information through pipleline.process

2017-02-14 Thread Finan, Sean
Alaa, Have you actually tested and noticed a serious time problem? Any given cas will probably not have enough concepts stored to make this an issue. Sean -Original Message- From: shahid ashraf [mailto:sha...@trialx.com] Sent: Tuesday, February 14, 2017 9:56 AM To: cTakes developers lis

RE: Ctakes is not thread safe [SUSPICIOUS]

2017-02-14 Thread Finan, Sean
Hi Tim, Definitely not a dumb idea. I think that this possibility and others have been posted: no lvg, single-thread, uima-as, multiple jvms, wrapping the current lvg annotator in a singleton and then making a new lvg annotator that makes synchronized calls to that singleton ... I think that

Re: passing information through pipleline.process

2017-02-14 Thread shahid ashraf
hi What i can suggest is in your web app you initialize both pipelines and based on request e.g ic9 call the process method of the same .. or viceversa. (It can be memory intensive...) P.S: ... this is sort of hack On Tue, Feb 14, 2017 at 8:12 PM, Alaa al Barari wrote: > not really i want thi

Re: passing information through pipleline.process

2017-02-14 Thread Alaa al Barari
not really i want this in dynamic manner, sometimes I need icd9 and other times I need 10. if there is a way to specify exactly which scheme it should work with. like I have a webservice that sometimes it should return icd9 and other times icd10 based on the request. modifying the xml wont do the

Re: Ctakes is not thread safe

2017-02-14 Thread Miller, Timothy
My understanding is that it is our dependency on a somewhat outdated version of LVG that makes it non-thread-safe. So we can update the dependency, but in the meantime if Alaa removes LVG from the pipeline will that be threadsafe? Alaa, if no one else weighs in to tell you this idea is stupid it mi

Parsing multiple documents at the same time.

2017-02-14 Thread Alaa al Barari
Hi all, I want to be able to parse multiple documents at the same time. one member here suggested below code : mAnalysisEngine = UIMAFramework.produceAnalysisEngine(specifier,3,0); //create CAS pool with 3 CAS instances jCasPool = new JCasPool(3, pipeline); My problem is with the fir

Re: passing information through pipleline.process

2017-02-14 Thread Alaa al Barari
Thanks for your answer! Do you want ctakes to never find codes from certain schemes during processing? yes exactly this is what I am shooting for, if I dont need them at the moment I dont want them found. suppose I have icd10 and icd9, I want it to not find icd9 when I am looking for 10 and nice

RE: passing information through pipleline.process

2017-02-14 Thread Finan, Sean
Go into resources/org/apache/ctakes/dictionary/lookup/fast/ and edit your xml configuration file. Comment out the 2 lines that have icd9 listed as desired schemes. That should do it. The configuration file basically tells ctakes what is in your dictionary database. If you comment those lines

RE: passing information through pipleline.process

2017-02-14 Thread Finan, Sean
Hi Alaa, I have a question for you. Do you want ctakes to never find codes from certain schemes during processing? Or do you want it to find them, but only return them when you request them explicitly after processing? > can I override process(final JCas jcas) That depends. If you are subcla

Re: Ctakes is not thread safe

2017-02-14 Thread Alaa al Barari
One more question please whats the difference between cas and jcas ? On Tue, Feb 14, 2017 at 1:39 PM, Alaa al Barari wrote: > Thanks Shahid, basically I built a web service, that calls ctakes, the > issue is when 2 users call the service in parallel, ctakes cant handle both > of them because its

Re: Ctakes is not thread safe

2017-02-14 Thread Alaa al Barari
Thanks Shahid, basically I built a web service, that calls ctakes, the issue is when 2 users call the service in parallel, ctakes cant handle both of them because its not thread safe. any idea how to do that ? regarding performance, how can I enhance it you have steps ? I am using below code whic

Re: Ctakes is not thread safe

2017-02-14 Thread shahid ashraf
Hi Alaa What is your use case, I assumed you need to increase performance of ctakes by leveraging multiple threads. In that case we can use UIMA CASPOOL which allows us to process ctakes via multiple threads. P.S. Ctakes is based on UIMA architecture. https://uima.apache.org/documentation.html

Re: Ctakes is not thread safe

2017-02-14 Thread Alaa al Barari
guys, anyone please through some light on this ? if there is something to be done or away I can do this ? On Sun, Feb 12, 2017 at 6:56 PM, Alaa al Barari wrote: > what is UIMA can you give more information about it, and how it can > benefit me ? > > Thanks in advance/ > > On Sun, Feb 12, 2017 at