RE: jcasPool problem

2017-02-19 Thread Finan, Sean
AM To: dev@ctakes.apache.org Subject: Re: jcasPool problem Thanks Sean, I will try that, whats the difference between cas and jcas ? On Thu, Feb 16, 2017 at 6:14 PM, Finan, Sean < sean.fi...@childrens.harvard.edu> wrote: > Hi Alaa, > > I have no idea what is causing your error us

Re: jcasPool problem

2017-02-19 Thread Alaa al Barari
filePaths = Files.newDirectoryStream( > inputDir ) ) { > for ( Path filePath : filePaths ) { > executor.execute( new XCasDeserializer( filePath.toString() ) > ); > } > } catch ( IOException ioE ) { > LOGGER.error( ioE.getMessage() ); >

RE: jcasPool problem

2017-02-16 Thread Finan, Sean
alizer( filePath.toString() ) ); } } catch ( IOException ioE ) { LOGGER.error( ioE.getMessage() ); } executor.shutdown(); } } -Original Message- From: Alaa al Barari [mailto:alaa.albar...@gmail.com] Sent: Thursday, February 16, 2017 7:33 AM To: dev@ctakes.apache.org

RE: jcasPool problem

2017-02-16 Thread Finan, Sean
you from doing something else (like multithreading), then that 1 point may not be worth a nightmare of hacks. -Original Message- From: Alaa al Barari [mailto:alaa.albar...@gmail.com] Sent: Thursday, February 16, 2017 8:49 AM To: dev@ctakes.apache.org Subject: Re: jcasPool problem Thanks

Re: jcasPool problem

2017-02-16 Thread Alaa al Barari
one more thing please, from where I can get this fastUMLSAggregate.xml file ? On Thu, Feb 16, 2017 at 3:48 PM, Alaa al Barari wrote: > Thanks I will try that and let you know, is there a need for LVG In fast > dictionary lookup ? Please correct me If I am wrong but I understand lvg is > responsi

Re: jcasPool problem

2017-02-16 Thread Alaa al Barari
Thanks I will try that and let you know, is there a need for LVG In fast dictionary lookup ? Please correct me If I am wrong but I understand lvg is responsible for synonyms and hence with fast dictionary there is no need for lvg right ? On Thu, Feb 16, 2017 at 3:42 PM, shahid ashraf wrote:

Re: jcasPool problem

2017-02-16 Thread shahid ashraf
Yes it worked ... but in multiprocessing ... LVG module gives errors(its should be f9 if you don't use that..) I am using simple fastUMLSAggregate.xml... On Thu, Feb 16, 2017 at 7:10 PM, Alaa al Barari wrote: > Thanks Shahid, when you built the pipline using xml descriptor it worked ? > > what

Re: jcasPool problem

2017-02-16 Thread Alaa al Barari
Thanks Shahid, when you built the pipline using xml descriptor it worked ? whats your xml schema ? On Thu, Feb 16, 2017 at 3:22 PM, shahid ashraf wrote: > Hi > > I have tried jcaspool too but it did not worked for me as well (Same > Error). I did not tried to use after spending some time... not

Re: jcasPool problem

2017-02-16 Thread shahid ashraf
Hi I have tried jcaspool too but it did not worked for me as well (Same Error). I did not tried to use after spending some time... not an expert on java... so i just used the Descriptor (XML) based code to build pipeline and created a CAS Pool. Let me know if you are able to get anything ... Here

jcasPool problem

2017-02-16 Thread Alaa al Barari
Hi, anyone used jcasPool before ? is it working with you ? any ideas, insights I have this issue : aggregateBuilder = Pipeline.getAggregateBuilder(); pipeline = aggregateBuilder.createAggregate(); jCasPool = new JCasPool(10, pipeline); then JCas jcas = jCasPool.getJCas(0); jcas.setDocumen