Hi James, That code is defunct and shouldn't be used. I will take it out for the next release. ________________________________ From: James Masanz <masanz.ja...@gmail.com> Sent: Wednesday, May 15, 2024 4:05 PM To: dev@ctakes.apache.org <dev@ctakes.apache.org> Subject: Re: Fw: Please test the Apache cTAKES 5.1.0 release candidate [EXTERNAL]
* External Email - Caution * Hi all, To get a clean environment, I started a new Windows Sandbox (on Windows 11), installed IntelliJ, and opened the downloaded ctakes sources as a project. Not sure if this was valid to try anymore - I tried to run HelloWorldAggregatePipeline.class directly. I haven't dug into this yet, but in case someone knows offhand - although it completed with an exit code 0 and output a value for Polarity, there is also this message included. ** Error: problem of opening/reading config file: 'file:\C:\Users\Public\cT5\ctakes-5.1.0-source-release\ctakes-5.1.0\ctakes-lvg\target\classes\org\apache\ctakes\lvg\data\config\lvg.properties'. Use -x option to specify the config file path. The lvg.properties file does exist in that directory. The context for that message is below I will do some other testing before I take a look at HelloWorldAggregatePipeline again. - James 15 May 2024 14:44:25 INFO LvgAnnotator - URL for lvg.properties =/C:/Users/Public/cT5/ctakes-5.1.0-source-release/ctakes-5.1.0/ctakes-lvg/target/classes/org/apache/ctakes/lvg/data/config/lvg.properties 15 May 2024 14:44:26 INFO SentenceDetector - Sentence detector model file: org/apache/ctakes/core/models/sentdetect/sd-med-model.zip 15 May 2024 14:44:26 INFO TokenizerAnnotatorPTB - Initializing org.apache.ctakes.core.ae.TokenizerAnnotatorPTB 15 May 2024 14:44:26 INFO LvgCmdApiResourceImpl - Loading NLM Norm and Lvg with config file = file:\C:\Users\Public\cT5\ctakes-5.1.0-source-release\ctakes-5.1.0\ctakes-lvg\target\classes\org\apache\ctakes\lvg\data\config\lvg.properties 15 May 2024 14:44:26 INFO LvgCmdApiResourceImpl - config file absolute path = C:\Users\Public\cT5\ctakes-5.1.0-source-release\ctakes-5.1.0\file:\C:\Users\Public\cT5\ctakes-5.1.0-source-release\ctakes-5.1.0\ctakes-lvg\target\classes\org\apache\ctakes\lvg\data\config\lvg.properties 15 May 2024 14:44:26 INFO LvgCmdApiResourceImpl - cwd = C:\Users\Public\cT5\ctakes-5.1.0-source-release\ctakes-5.1.0 15 May 2024 14:44:26 INFO LvgCmdApiResourceImpl - cd file:\C:\Users\Public\cT5\ctakes-5.1.0-source-release\ctakes-5.1.0\ctakes-lvg\target\classes\org\apache\ctakes\lvg\ ** Configuration Error: file:\C:\Users\Public\cT5\ctakes-5.1.0-source-release\ctakes-5.1.0\ctakes-lvg\target\classes\org\apache\ctakes\lvg\data\config\lvg.properties (The filename, directory name, or volume label syntax is incorrect) ** Error: problem of opening/reading config file: 'file:\C:\Users\Public\cT5\ctakes-5.1.0-source-release\ctakes-5.1.0\ctakes-lvg\target\classes\org\apache\ctakes\lvg\data\config\lvg.properties'. Use -x option to specify the config file path. ** Configuration Error: file:\C:\Users\Public\cT5\ctakes-5.1.0-source-release\ctakes-5.1.0\ctakes-lvg\target\classes\org\apache\ctakes\lvg\data\config\lvg.properties (The filename, directory name, or volume label syntax is incorrect) ** Error: problem of opening/reading config file: 'file:\C:\Users\Public\cT5\ctakes-5.1.0-source-release\ctakes-5.1.0\ctakes-lvg\target\classes\org\apache\ctakes\lvg\data\config\lvg.properties'. Use -x option to specify the config file path. 15 May 2024 14:44:26 INFO LvgCmdApiResourceImpl - cd C:\Users\Public\cT5\ctakes-5.1.0-source-release\ctakes-5.1.0 15 May 2024 14:44:26 INFO ContextDependentTokenizerAnnotator - Finite state machines loaded. 15 May 2024 14:44:26 INFO POSTagger - POS tagger model file: org/apache/ctakes/postagger/models/mayo-pos.zip 15 May 2024 14:44:26 INFO SentenceDetector - Starting processing. 15 May 2024 14:44:26 INFO TokenizerAnnotatorPTB - process(JCas) in org.apache.ctakes.core.ae.TokenizerAnnotatorPTB 15 May 2024 14:44:26 INFO LvgAnnotator - process(JCas) 15 May 2024 14:44:26 INFO ContextDependentTokenizerAnnotator - process(JCas) 15 May 2024 14:44:26 INFO POSTagger - process(JCas) 15 May 2024 14:44:26 INFO ConfigParameterExample - Token:Hello POS:NNP 15 May 2024 14:44:26 INFO ConfigParameterExample - Token:World POS:NNP Entity: Hello === Polarity: 0 Entity: World === Polarity: 0 Process finished with exit code 0 On Wed, May 1, 2024 at 3:55 PM Finan, Sean <sean.fi...@childrens.harvard.edu.invalid> wrote: > Hi all, > > As you may have seen, the last 5.1.0 candidate had some issues. > > I have created a new 5.1.0 candidate, available here: > > https://urldefense.com/v3/__https://repository.apache.org/content/repositories/staging/org/apache/ctakes/ctakes/5.1.0/__;!!NZvER7FxgEiBAiR_!tLjBU3w09cUeWE4115MKOWDwD6zM9k3Nyn-PlEf6BeifISf-bW5Fe2wZs1f1X42it4dl9D0EwoYgSLc_GZjCIKOkXjw-J_TO$ > > As before, individual module jars up two levels and in associated > subdirectories. > > Hopefully this candidate fares better. Please report any findings before > next Monday, May 6th. > > Thank you, > > Sean > > p.s. > If you test build any of the rest projects (e.g. ctakes-web-rest) or build > an installation with Dockhand, you must first run mvn install. Those > builds require ctakes module jars to exist where they can be fetched, and > as ctakes 5.1.0 will not be available through maven central before a > release, the jars must be in your .m2 directory. > > > > > > ________________________________ > From: Finan, Sean > Sent: Friday, April 26, 2024 11:58 AM > To: dev@ctakes.apache.org <dev@ctakes.apache.org> > Subject: Please test the Apache cTAKES 5.1.0 release candidate > > Hi all, > > There is a candidate for version 5.1.0 of Apache cTAKES source code in a > staging repository: > > https://urldefense.com/v3/__https://repository.apache.org/content/repositories/staging/org/apache/ctakes/ctakes/5.1.0/__;!!NZvER7FxgEiBAiR_!tLjBU3w09cUeWE4115MKOWDwD6zM9k3Nyn-PlEf6BeifISf-bW5Fe2wZs1f1X42it4dl9D0EwoYgSLc_GZjCIKOkXjw-J_TO$ > > The code is contained within the file: > ctakes-5.1.0-source-release.zip< > https://urldefense.com/v3/__https://repository.apache.org/content/repositories/staging/org/apache/ctakes/ctakes/5.1.0/ctakes-5.1.0-source-release.zip__;!!NZvER7FxgEiBAiR_!tLjBU3w09cUeWE4115MKOWDwD6zM9k3Nyn-PlEf6BeifISf-bW5Fe2wZs1f1X42it4dl9D0EwoYgSLc_GZjCIKOkXq6CblZz$ > > > > I welcome you all to test your favorite pipeline(s) and report any issues. > I am calling a vote from the PMC to finish by 12:nn Eastern time, next > Wednesday May 1. Please report any issues before that time. If any > 'road-block' issues are found they will need to be addressed before a > release. > > Thank you, > Sean > > > p.s. > > The 5.1.0 candidate is based upon the source code in the ctakes-5.1.0 tag: > https://urldefense.com/v3/__https://github.com/apache/ctakes/releases/tag/ctakes-5.1.0__;!!NZvER7FxgEiBAiR_!tLjBU3w09cUeWE4115MKOWDwD6zM9k3Nyn-PlEf6BeifISf-bW5Fe2wZs1f1X42it4dl9D0EwoYgSLc_GZjCIKOkXilHVzPz$ > > The ctakes-5.1.0 tag was made from the 5.1.0 branch: > https://urldefense.com/v3/__https://github.com/apache/ctakes/tree/5.1.0__;!!NZvER7FxgEiBAiR_!tLjBU3w09cUeWE4115MKOWDwD6zM9k3Nyn-PlEf6BeifISf-bW5Fe2wZs1f1X42it4dl9D0EwoYgSLc_GZjCIKOkXkJNViWb$ > > The 5.1.0 branch is a copy of the main branch: > https://urldefense.com/v3/__https://github.com/apache/ctakes/tree/main__;!!NZvER7FxgEiBAiR_!tLjBU3w09cUeWE4115MKOWDwD6zM9k3Nyn-PlEf6BeifISf-bW5Fe2wZs1f1X42it4dl9D0EwoYgSLc_GZjCIKOkXoFdrFkS$ > The version number in the 5.1.0 branch is different, but there are no code > differences between the two branches. > > >