Hi Sean (Mullane), For the original problem:
No Analysis > > Component found for org.apache.ctakes.core.ae.CuiFilterAnnotator This means that somewhere in your piper file you have an "add" command for an analysis engine named "CuiFilterAnnotator". There is no org.apache.ctakes.core.ae.CuiFilterAnnotator in ctakes 4.0.0 or trunk: https://svn.apache.org/repos/asf/ctakes/tags/ctakes-4.0.0/ctakes-core/src/main/java/org/apache/ctakes/core/ae/ https://svn.apache.org/repos/asf/ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/ae/ I also cannot find a class named "CuiFilterAnnotator" in my copy of trunk in any of the projects - including ytex. That leads me to believe that CuiFilterAnnotator is a custom annotator in your local installation - which I hope that you didn't overwrite with a copy of 4.0.0.1 If you can find the CuiFilterAnnotator file in your previous installation, just copy it over in a custom jar. After rerunning you may find another missing class, then another. Such can be the pains of working with custom alterations. Sean ________________________________________ From: Peter Abramowitsch <pabramowit...@gmail.com> Sent: Friday, February 26, 2021 12:27 PM To: dev@ctakes.apache.org Subject: Re: 4.0.0.1 patch [EXTERNAL] * External Email - Caution * I don't mean to butt in on another conversation, but for the UMLS authentication to work in 4.0.0.1, you would need to replace ctakes-dictionary-lookup-fast jar, the ctakes-dictionary-lookup.jar and for safety's sake the ctakes-core jar too. Peter On Fri, Feb 26, 2021 at 6:01 PM Mullane, Sean *HS < sp...@hscmail.mcc.virginia.edu> wrote: > Can you check my understanding of how to apply the patch? I replaced the > ctakes-core-4.0.0.jar file in ./lib with ctakes-core-4.0.0.1.jar. I also > replaced the user/pass values in ctakes.profile with the API key values. > Are there any steps I missed there? > > Sean > > -----Original Message----- > From: Miller, Timothy <timothy.mil...@childrens.harvard.edu> > Sent: Friday, February 26, 2021 6:41 AM > To: dev@ctakes.apache.org > Subject: Re: 4.0.0.1 patch [EXTERNAL] > > Hi Sean, > I can't answer your primary question, but my recollection is that > 4.0.0.1 was an absolutely minimalist change to just fix the > authentication, so I don't think ytex would've been touched. > Tim > > > On Thu, 2021-02-25 at 17:24 +0000, Mullane, Sean *HS wrote: > > * External Email - Caution * > > > > > > Hello, > > > > I am just catching up with the NLM auth changes. I tried replacing the > > ctakes-core-4.0.0.jar file with ctakes-core-4.0.0.1.jar, and am > > getting this error: > > > > ERROR [PiperFileRunner] MESSAGE LOCALIZATION FAILED: Can't find > > resource for bundle java.util.PropertyResourceBundle, key No Analysis > > Component found for org.apache.ctakes.core.ae.CuiFilterAnnotator > > > > I saw a message from Tim Miller from December mentioning removing ytex > > components from ctakes-core. Was this done on the released version of > > 4.0.0.1? We're using ytex so I wonder if that may be the cause of this > > error. Or maybe applying the patch isn't as simple as drop-in > > replacing the jar? (I changed the API key in my config files and that > > seems to be working as expected). > > > > Thanks, > > Sean > > > > >