Hi , Thanks for the prompt response. (First of all please ignore the contextAnnotator error: classpath was not applied when "use of module" etc. restart , apply etc. sorted that out). Now on to the authentication error
When I look into the following files I cannot find any vendor, umlsuser, umlspw and umlsaddr values to set to an empty string. 1.resources/org/apache/ctakes/dictionary/lookup/fast/*.xml or 2.desc/ctakes-dictionary-lookup/desc/analysis_engine/DictionaryLookupAnnotatorUMLS.xml 3.desc/ctakes-side-effect/desc/analysis_engine/DictionaryLookupAnnotator_sideEffectUMLS.xml 4. desc/ctakes-clinical-pipeline/desc/analysis_engine/auto/defaultPipeline.xml However when I check the sno_rx_16ab.xml I do find the following which I removed entirely : <property key="umlsUrl" value="https://uts-ws.nlm.nih.gov/restful/isValidUMLSUser"/> <property key="umlsVendor" value="NLM-6515182895"/> <property key="umlsUser" value="CHANGE_ME"/> <property key="umlsPass" value="CHANGE_ME"/> The error I get : [...] Using dictionary descriptor org/apache/ctakes/dictionary/lookup/fast/ sno_rx_16ab.xml Using alternate umlsURL found via : properties Checking UMLS account at https://uts-ws.nlm.nih.gov/restful/isValidUMLSUser"/> UMLS account at https://uts-ws.nlm.nih.gov/restful/isValidUMLSUser"/> is not valid. Verify you are setting command line etc. etc. for umlsuser and umlspwd correctly Initialization of annotator class org.apache.ctakes.dictionary.lookup2.ae.DefaultJCasTermAnnotator failed Any ideas please? Many thanks for your assistance Kind Regards, Eugenia Monogyiou | NTT Data UK Consulting & IT Solutions Ltd. 1 Royal Exchange, London EC3V 3DG Mob: +44 (0)7971623683 Email: eugenia.monogy...@nttdata.com -----Original Message----- From: Peter Abramowitsch <pabramowit...@gmail.com> Sent: 08 January 2021 18:47 To: dev@ctakes.apache.org Subject: Re: Running PiperGui produces No Analysis Component found for ContextDependentTokenizerAnnotator error Hi Eugenia Not sure if Sean has changed this part of the code that I had checked in, I'm still using my original check-in. So there may be a small alignment issue if you are using his newer version and my original instructions. Raising the level of log4j to DEBUG, the UmlsUserValidator module should report where it is getting the credentials from. So that should show you if there are any "rogue" credentials that are being read in favor of your environment variable. Make sure also that the URL fields in those XML files are also nulled out in case they still contain the old UTS url. The validator module will supply the correct URL unless you need to override it. Let us know the exact value of the variable(s) you are supplying. If, for instance, you have a left-over UMLSUSER variable and it still has your old value, that would be a problem. If you do have it, its value must be the string "umls_api_key" and the password variable would contain the key itself. Regards Peter On Fri, Jan 8, 2021 at 4:44 PM Monogyiou, Eugenia < eugenia.monogy...@nttdata.com> wrote: > Hello, > > Sean is probably very busy with the release so if anyone else could > please provide any guidance on the below would very much appreciated > as I am working on a tight deadline at the moment :( > > I switched recently to Intellij and I no longer encountering all the > weird maven plugin errors produced with Eclipse - however I have not > been able to run the Gui successfully yet. > > 1. I got the code from the latest trunk and I do not seem to have > any password/ username to remove from any xml files (am I missing > something?) I have set an environment variable with the api key > > 2. I run the PiperRunnerGui by navigating to > \ctakes-gui\src\main\java\org\apache\ctakes\gui\pipeline\PiperRunnerGu > i , right-click and run successfully (no run configuration set) > > 3. I navigate to > \ctakes-clinical-pipeline-res\src\main\resources\org\apache\ctakes\cli > nical\pipeline\ and I load the DefaultFastPipeline.piper > > 4. First of all I had to copy here all the required subPipe files in > the directory before the file was load successfully - I am not sure > this is default behaviour or I am missing config > > 5. and then when I attempted to run, it failed immediately with > org.apache.uima.resource.ResourceInitializationException: MESSAGE > LOCALIZATION FAILED: Can't find resource for bundle > java.util.PropertyResourceBundle, key No Analysis Component found for > ContextDependentTokenizerAnnotator > > Adding dependencies to the clinical pipeline and/or ctakes-gui pom > file did not help. > > Many sincere thanks in advance, > > > Kind Regards, > > Eugenia Monogyiou | NTT Data UK > Consulting & IT Solutions Ltd. 1 Royal Exchange, London EC3V 3DG > > Mob: +44 (0)7971623683 Email: eugenia.monogy...@nttdata.com<mailto: > eugenia.monogy...@nttdata.com> > > Disclaimer: This email and any attachments are sent in strictest > confidence for the sole use of the addressee and may contain legally > privileged, confidential, and proprietary data. If you are not the > intended recipient, please advise the sender by replying promptly to > this email and then delete and destroy this email and any attachments > without any further use, copying or forwarding. > Disclaimer: This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data. If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding.