You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ctakes.apache.org by Maite Meseure Hugues <me...@gmail.com> on 2014/12/29 20:52:54 UTC
Using cTakes programmatically
Dear all,
I allow myself to contact you in order to ask you how I can simply add
cTAKES packages in my java code to get the same output than the XML output
from the CPE (using clinical-pipeline/ test_plaintext.xml as descriptor).
I've explored and tested the cTakes example ( using
ClinicalPipelineFactory.getDefaultPipeline() ) but I've got this error
message:
[...] https://uts-ws.nlm.nih.gov/restful/isValidUMLSUser: maitemeseure
Exception in thread "main"
org.apache.uima.resource.ResourceInitializationException: Initialization of
annotator class
"org.apache.ctakes.dictionary.lookup.ae.UmlsDictionaryLookupAnnotator"
failed. (Descriptor: <unknown>)
Thanks a lot for your time.
Best regards
--
--
Maïté Meseure Hugues
RE: Using cTakes programmatically
Posted by "Finan, Sean" <Se...@childrens.harvard.edu>.
Hi Maite Meseure,
Check the cTakes User guide on UMLS setup:
https://cwiki.apache.org/confluence/display/CTAKES/cTAKES+3.2+User+Install+Guide#cTAKES3.2UserInstallGuide-(Recommended)AddUMLSaccessrights
which (in part) points you towards obtaining a license to use the NIH UMLS dictionary:
https://uts.nlm.nih.gov/license.html
Sean
________________________________________
From: Maite Meseure Hugues [meseure.maite@gmail.com]
Sent: Monday, December 29, 2014 4:17 PM
To: dev@ctakes.apache.org
Subject: Using cTakes programmatically
Dear all,
I allow myself to contact you in order to ask you how I can simply add
cTAKES packages in my java code to get the same output than the XML output
from the CPE (using clinical-pipeline/ test_plaintext.xml as descriptor).
I've explored and tested the cTakes example ( using
ClinicalPipelineFactory.getDefaultPipeline() ) but I've got this error
message:
[...] https://uts-ws.nlm.nih.gov/restful/isValidUMLSUser: maitemeseure
Exception in thread "main"
org.apache.uima.resource.ResourceInitializationException: Initialization of
annotator class
"org.apache.ctakes.dictionary.lookup.ae.UmlsDictionaryLookupAnnotator"
failed. (Descriptor: <unknown>)
Thanks a lot for your time.
Best regards
--
--
Maïté Meseure Hugues