ctakes-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sai Anuroop <sai.anur...@abzooba.com>
Subject Re: Running cTAKES through Java
Date Tue, 30 Jun 2015 11:09:53 GMT
Hi All,

I was trying to run the code given by you.it runs fine till the line

*AnalysisEngine analysisEngine =
UIMAFramework.produceAnalysisEngine(pipelineSpecifier,threadCount,0);*

The Console looks like this

30 Jun 2015 16:22:25  INFO Chunker - Chunker model file:
org/apache/ctakes/chunker/models/chunker-model.zip
30 Jun 2015 16:22:28  INFO JdbcConnectionResourceImpl - Connection
established to:
jdbc:hsqldb:res:org/apache/ctakes/dictionary/lookup/umls2011ab/umls
30 Jun 2015 16:22:28  INFO JdbcConnectionResourceImpl - Connection
established to:
jdbc:hsqldb:res:org/apache/ctakes/dictionary/lookup/rxnorm-hsqldb/umls
30 Jun 2015 16:22:28  INFO JdbcConnectionResourceImpl - Connection
established to:
jdbc:hsqldb:res:org/apache/ctakes/dictionary/lookup/orange_book_hsqldb/umls
30 Jun 2015 16:22:28  INFO UmlsDictionaryLookupAnnotator - Parsing
descriptor:
D:\abzooba\eclipse_workspace\ctakes\ctakes-dictionary-lookup-res\target\classes\org\apache\ctakes\dictionary\lookup\LookupDesc_Db.xml
30 Jun 2015 16:22:28  INFO FirstTokenPermLookupInitializerImpl - Exclusion
tagset loaded: [dt, to, rp, ls, pos, md, vbd, vbg, vb, ex, vbp, vbn, pdt,
vbz, wp, wrb, in, wps, pp$, prp$, wdt, prp, pp, cc, cd]
30 Jun 2015 16:22:28  INFO FirstTokenPermLookupInitializerImpl - Exclusion
tagset loaded: [to, dt, rp, ex, vbp, ls, vbn, pdt, wp, vbz, wrb, in, pos,
wps, md, wdt, pp$, vbd, vb, vbg, pp, cc, cd]
30 Jun 2015 16:22:28  INFO UmlsDictionaryLookupAnnotator - Using
ctakes.umlsaddr: https://uts-ws.nlm.nih.gov/restful/isValidUMLSUser:
adityaagar3
30 Jun 2015 16:22:35  INFO ClearNLPDependencyParserAE - using Morphy
analysis? true
Loading configuration.
Loading feature templates.
Loading lexica.
Loading model:

Then there is no further any progress.It gets stuck there.I have removed
the usage of LvgAnnotator from pipeline XML as pointed out by you.So Can
you figure out where is the problem?

Also can you please tell how to modify the code if we do not want to create
parallel instances of Cas.I was using:

*AnalysisEngine analysisEngine =
UIMAFramework.produceAnalysisEngine(pipelineSpecifier);*
*CasPool casPool = new CasPool(1, analysisEngine); *

Is it right?

Thanks in advance.

Regards,

Vetsa Sai Anuroop

Mime
View raw message