You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@opennlp.apache.org by Jeff Zemerick <jz...@apache.org> on 2023/02/06 16:28:34 UTC

[VOTE] Apache OpenNLP 2.1.1 Release Candidate 2

Hi folks,

I have posted a 2nd release candidate for the Apache OpenNLP 2.1.1 release
and it is ready for testing.

The distributables can be downloaded from:
https://repository.apache.org/content/repositories/orgapacheopennlp-1032/org/apache/opennlp/opennlp-distr/2.1.1/

The release was made from the Apache OpenNLP 2.1.1 tag at:
https://github.com/apache/opennlp/tree/opennlp-2.1.1

To use it in a maven build set the version for opennlp-tools or
opennlp-uima to 2.1.1 and add the following URL to your settings.xml file:
https://repository.apache.org/content/repositories/orgapacheopennlp-1032

The release was made using the OpenNLP release process, documented on the
website:
https://opennlp.apache.org/release.html

Please vote on releasing these packages as Apache OpenNLP 2.1.1. The vote
is open for at least the next 72 hours.

Only votes from OpenNLP PMC are binding, but everyone is welcome to check
the release candidate and vote.
The vote passes if at least three binding +1 votes are cast.

[ ] +1 Release the packages as Apache OpenNLP 2.1.1
[ ] -1 Do not release the packages because...

Thanks!
Jeff

Re: [VOTE] Apache OpenNLP 2.1.1 Release Candidate 2

Posted by Richard Zowalla <rz...@apache.org>.
+1 (non-binding)

I did run the eval tests:


Apache Maven 3.9.0 (9b58d2bad23a66be161c4664ef21ce219c2c8584)
Maven home: /usr/share/maven
Java version: 11.0.17, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-
openjdk-amd64
Default locale: de_DE, platform encoding: UTF-8
OS name: "linux", version: "5.15.0-58-generic", arch: "amd64", family:
"unix"


[INFO] Apache OpenNLP Reactor ............................. SUCCESS
[  2.215 s]
[INFO] Apache OpenNLP Tools ............................... SUCCESS
[  04:28 h]
[INFO] Apache OpenNLP UIMA Annotators ..................... SUCCESS
[  2.590 s]
[INFO] Apache OpenNLP Brat Annotator ...................... SUCCESS
[  0.672 s]
[INFO] Apache OpenNLP Morfologik Addon .................... SUCCESS
[  2.645 s]
[INFO] Apache OpenNLP Documentation ....................... SUCCESS
[  0.043 s]
[INFO] Apache OpenNLP Distribution ........................ SUCCESS
[  2.300 s]
[INFO] Apache OpenNLP DL .................................. FAILED [
11.675 s]

I am getting an error for the following eval test in OpenNLP DL:

DocumentCategorizerDLEval.categorize:82 array contents differ at index
[0], expected: <0.3391093313694> but was: <0.33910948038101196>

Looking at 
https://github.com/apache/opennlp/blob/main/opennlp-dl/src/test/java/opennlp/dl/doccat/DocumentCategorizerDLEval.java#L82
 it might be required to adjust the epsiolon / delta for this test as
the returned score is better than the expected one?

Don't think, that this is a blocker for 2.1.1 though.

Gruß
Richard


 
Am Montag, dem 06.02.2023 um 11:28 -0500 schrieb Jeff Zemerick:
> Hi folks,
> 
> I have posted a 2nd release candidate for the Apache OpenNLP 2.1.1
> release
> and it is ready for testing.
> 
> The distributables can be downloaded from:
> https://repository.apache.org/content/repositories/orgapacheopennlp-1032/org/apache/opennlp/opennlp-distr/2.1.1/
> 
> The release was made from the Apache OpenNLP 2.1.1 tag at:
> https://github.com/apache/opennlp/tree/opennlp-2.1.1
> 
> To use it in a maven build set the version for opennlp-tools or
> opennlp-uima to 2.1.1 and add the following URL to your settings.xml
> file:
> https://repository.apache.org/content/repositories/orgapacheopennlp-1032
> 
> The release was made using the OpenNLP release process, documented on
> the
> website:
> https://opennlp.apache.org/release.html
> 
> Please vote on releasing these packages as Apache OpenNLP 2.1.1. The
> vote
> is open for at least the next 72 hours.
> 
> Only votes from OpenNLP PMC are binding, but everyone is welcome to
> check
> the release candidate and vote.
> The vote passes if at least three binding +1 votes are cast.
> 
> [ ] +1 Release the packages as Apache OpenNLP 2.1.1
> [ ] -1 Do not release the packages because...
> 
> Thanks!
> Jeff


Re: [VOTE] Apache OpenNLP 2.1.1 Release Candidate 2

Posted by Jeff Zemerick <jz...@apache.org>.
+1 from me as well. The eval tests all passed.

Thanks,
Jeff

On Tue, Feb 7, 2023 at 3:34 PM Bruno Kinoshita <br...@gmail.com>
wrote:

> [x] +1 Release the packages as Apache OpenNLP 2.1.1
>
> Thank you!
>
> On Mon, 6 Feb 2023 at 17:28, Jeff Zemerick <jz...@apache.org> wrote:
>
> > Hi folks,
> >
> > I have posted a 2nd release candidate for the Apache OpenNLP 2.1.1
> release
> > and it is ready for testing.
> >
> > The distributables can be downloaded from:
> >
> >
> https://repository.apache.org/content/repositories/orgapacheopennlp-1032/org/apache/opennlp/opennlp-distr/2.1.1/
> >
> > The release was made from the Apache OpenNLP 2.1.1 tag at:
> > https://github.com/apache/opennlp/tree/opennlp-2.1.1
> >
> > To use it in a maven build set the version for opennlp-tools or
> > opennlp-uima to 2.1.1 and add the following URL to your settings.xml
> file:
> > https://repository.apache.org/content/repositories/orgapacheopennlp-1032
> >
> > The release was made using the OpenNLP release process, documented on the
> > website:
> > https://opennlp.apache.org/release.html
> >
> > Please vote on releasing these packages as Apache OpenNLP 2.1.1. The vote
> > is open for at least the next 72 hours.
> >
> > Only votes from OpenNLP PMC are binding, but everyone is welcome to check
> > the release candidate and vote.
> > The vote passes if at least three binding +1 votes are cast.
> >
> > [ ] +1 Release the packages as Apache OpenNLP 2.1.1
> > [ ] -1 Do not release the packages because...
> >
> > Thanks!
> > Jeff
> >
>

Re: [VOTE] Apache OpenNLP 2.1.1 Release Candidate 2

Posted by Bruno Kinoshita <br...@gmail.com>.
[x] +1 Release the packages as Apache OpenNLP 2.1.1

Thank you!

On Mon, 6 Feb 2023 at 17:28, Jeff Zemerick <jz...@apache.org> wrote:

> Hi folks,
>
> I have posted a 2nd release candidate for the Apache OpenNLP 2.1.1 release
> and it is ready for testing.
>
> The distributables can be downloaded from:
>
> https://repository.apache.org/content/repositories/orgapacheopennlp-1032/org/apache/opennlp/opennlp-distr/2.1.1/
>
> The release was made from the Apache OpenNLP 2.1.1 tag at:
> https://github.com/apache/opennlp/tree/opennlp-2.1.1
>
> To use it in a maven build set the version for opennlp-tools or
> opennlp-uima to 2.1.1 and add the following URL to your settings.xml file:
> https://repository.apache.org/content/repositories/orgapacheopennlp-1032
>
> The release was made using the OpenNLP release process, documented on the
> website:
> https://opennlp.apache.org/release.html
>
> Please vote on releasing these packages as Apache OpenNLP 2.1.1. The vote
> is open for at least the next 72 hours.
>
> Only votes from OpenNLP PMC are binding, but everyone is welcome to check
> the release candidate and vote.
> The vote passes if at least three binding +1 votes are cast.
>
> [ ] +1 Release the packages as Apache OpenNLP 2.1.1
> [ ] -1 Do not release the packages because...
>
> Thanks!
> Jeff
>

Re: [VOTE] Apache OpenNLP 2.1.1 Release Candidate 2

Posted by Martin Wiesner <ma...@apache.org>.
+1 (non-binding)

I ran the build with the evaluation test profile activated under this environment:

Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)
Maven home: /Applications/apache-maven-3
Java version: 11.0.18, vendor: Eclipse Adoptium, runtime: /Library/Java/JavaVirtualMachines/jdk-11.0.18.jdk/Contents/Home
Default locale: de_DE, platform encoding: UTF-8
OS name: "mac os x", version: "13.2", arch: "aarch64", family: "mac"

...
[INFO] Apache OpenNLP Tools ............................... SUCCESS [  04:26 h]
...
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  04:27 h
[INFO] Finished at: 2023-02-11T13:35:57+01:00

Thanks
Martin

On 2023/02/06 16:28:34 Jeff Zemerick wrote:
> Hi folks,
> 
> I have posted a 2nd release candidate for the Apache OpenNLP 2.1.1 release
> and it is ready for testing.
> 
> The distributables can be downloaded from:
> https://repository.apache.org/content/repositories/orgapacheopennlp-1032/org/apache/opennlp/opennlp-distr/2.1.1/
> 
> The release was made from the Apache OpenNLP 2.1.1 tag at:
> https://github.com/apache/opennlp/tree/opennlp-2.1.1
> 
> To use it in a maven build set the version for opennlp-tools or
> opennlp-uima to 2.1.1 and add the following URL to your settings.xml file:
> https://repository.apache.org/content/repositories/orgapacheopennlp-1032
> 
> The release was made using the OpenNLP release process, documented on the
> website:
> https://opennlp.apache.org/release.html
> 
> Please vote on releasing these packages as Apache OpenNLP 2.1.1. The vote
> is open for at least the next 72 hours.
> 
> Only votes from OpenNLP PMC are binding, but everyone is welcome to check
> the release candidate and vote.
> The vote passes if at least three binding +1 votes are cast.
> 
> [ ] +1 Release the packages as Apache OpenNLP 2.1.1
> [ ] -1 Do not release the packages because...
> 
> Thanks!
> Jeff
> 

Re: [VOTE] Apache OpenNLP 2.1.1 Release Candidate 2

Posted by Jeff Zemerick <jz...@apache.org>.
Hi all,

The vote passes with:

3 +1 binding votes
2 +1 non-binding votes

Thanks for voting! I will continue the release steps as outlined in the
guide (https://opennlp.apache.org/release.html).

Thanks,
Jeff


On Tue, Feb 21, 2023 at 9:48 PM Koji Sekiguchi <ko...@rondhuit.com>
wrote:

> Hi Jeff,
>
> Sorry for the late reply. +1 from me.
> I run test and checked some signatures of the release. Thanks!
>
> Koji
>
> 2023年2月20日(月) 23:23 Jeff Zemerick <jz...@apache.org>:
> >
> > Hi everyone,
> >
> > We are still looking for a third +1 vote (or a -1 vote and a reason to
> not
> > proceed with the release).
> >
> > Thanks,
> > Jeff
> >
> > On Sat, Feb 18, 2023 at 9:26 AM Jeff Zemerick <jz...@apache.org>
> wrote:
> >
> > > Hi Atita,
> > >
> > > Yes, I think it is an issue with the M1 Mac. Looking at onnxruntime it
> > > says it supports Windows x64, Linux x64, macOS x64. (
> > > https://onnxruntime.ai/docs/get-started/with-java.html)
> > >
> > > Thanks,
> > > Jeff
> > >
> > >
> > > On Fri, Feb 17, 2023 at 4:47 PM Atita Arora <at...@gmail.com>
> wrote:
> > >
> > >> Hi,
> > >>
> > >> Thank you Jeff for sharing the Eval-test-data and Thanks for sharing
> the
> > >> mv
> > >> Richard.
> > >> Those are my results :
> > >>
> > >> [INFO] -------------------------------------------------------
> > >> [INFO]  T E S T S
> > >> [INFO] -------------------------------------------------------
> > >> [INFO] Running
> > >> opennlp.dl.doccat.scoring.AverageClassificationScoringStrategyTest
> > >> [INFO] Running opennlp.dl.namefinder.NameFinderDLEval
> > >> [INFO] Running opennlp.dl.doccat.DocumentCategorizerDLEval
> > >> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> > >> 0.016 s - in
> > >> opennlp.dl.doccat.scoring.AverageClassificationScoringStrategyTest
> > >> [ERROR] Tests run: 6, Failures: 0, Errors: 5, Skipped: 1, Time
> elapsed:
> > >> 0.034 s <<< FAILURE! - in opennlp.dl.doccat.DocumentCategorizerDLEval
> > >> [ERROR] doccat  Time elapsed: 0.021 s  <<< ERROR!
> > >> java.lang.UnsatisfiedLinkError: no onnxruntime in java.library.path:
> > >>
> > >>
> /Users/atitaarora/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
> > >>         at
> > >>
> > >>
> opennlp.dl.doccat.DocumentCategorizerDLEval.doccat(DocumentCategorizerDLEval.java:213)
> > >>
> > >> [ERROR] scoreMap  Time elapsed: 0.001 s  <<< ERROR!
> > >> java.lang.NoClassDefFoundError: Could not initialize class
> > >> ai.onnxruntime.OrtEnvironment
> > >>         at
> > >>
> > >>
> opennlp.dl.doccat.DocumentCategorizerDLEval.scoreMap(DocumentCategorizerDLEval.java:167)
> > >>
> > >> [ERROR] categorizeWithInferenceOptions  Time elapsed: 0.001 s  <<<
> ERROR!
> > >> java.lang.NoClassDefFoundError: Could not initialize class
> > >> ai.onnxruntime.OrtEnvironment
> > >>         at
> > >>
> > >>
> opennlp.dl.doccat.DocumentCategorizerDLEval.categorizeWithInferenceOptions(DocumentCategorizerDLEval.java:141)
> > >>
> > >> [ERROR] sortedScoreMap  Time elapsed: 0 s  <<< ERROR!
> > >> java.lang.NoClassDefFoundError: Could not initialize class
> > >> ai.onnxruntime.OrtEnvironment
> > >>         at
> > >>
> > >>
> opennlp.dl.doccat.DocumentCategorizerDLEval.sortedScoreMap(DocumentCategorizerDLEval.java:190)
> > >>
> > >> [ERROR] categorize  Time elapsed: 0.001 s  <<< ERROR!
> > >> java.lang.NoClassDefFoundError: Could not initialize class
> > >> ai.onnxruntime.OrtEnvironment
> > >>         at
> > >>
> > >>
> opennlp.dl.doccat.DocumentCategorizerDLEval.categorize(DocumentCategorizerDLEval.java:48)
> > >>
> > >> [ERROR] Tests run: 7, Failures: 1, Errors: 6, Skipped: 0, Time
> elapsed:
> > >> 1.088 s <<< FAILURE! - in opennlp.dl.namefinder.NameFinderDLEval
> > >> [ERROR] tokenNameFinderNoEntitiesTest  Time elapsed: 0.017 s  <<<
> ERROR!
> > >> java.lang.UnsatisfiedLinkError: no onnxruntime in java.library.path:
> > >>
> > >>
> /Users/atitaarora/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
> > >>         at
> > >>
> > >>
> opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinderNoEntitiesTest(NameFinderDLEval.java:146)
> > >>
> > >> [ERROR] invalidModel  Time elapsed: 0.003 s  <<< FAILURE!
> > >> org.opentest4j.AssertionFailedError: Unexpected exception type thrown,
> > >> expected: <ai.onnxruntime.OrtException> but was:
> > >> <java.lang.NoClassDefFoundError>
> > >>         at
> > >>
> > >>
> opennlp.dl.namefinder.NameFinderDLEval.invalidModel(NameFinderDLEval.java:183)
> > >> Caused by: java.lang.NoClassDefFoundError: Could not initialize class
> > >> ai.onnxruntime.OrtEnvironment
> > >>         at
> > >>
> > >>
> opennlp.dl.namefinder.NameFinderDLEval.lambda$invalidModel$0(NameFinderDLEval.java:190)
> > >>         at
> > >>
> > >>
> opennlp.dl.namefinder.NameFinderDLEval.invalidModel(NameFinderDLEval.java:183)
> > >>
> > >> [ERROR] tokenNameFinderNoInputTest  Time elapsed: 0.001 s  <<< ERROR!
> > >> java.lang.NoClassDefFoundError: Could not initialize class
> > >> ai.onnxruntime.OrtEnvironment
> > >>         at
> > >>
> > >>
> opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinderNoInputTest(NameFinderDLEval.java:128)
> > >>
> > >> [ERROR] tokenNameFinder1Test  Time elapsed: 0 s  <<< ERROR!
> > >> java.lang.NoClassDefFoundError: Could not initialize class
> > >> ai.onnxruntime.OrtEnvironment
> > >>         at
> > >>
> > >>
> opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinder1Test(NameFinderDLEval.java:54)
> > >>
> > >> [ERROR] tokenNameFinder2Test  Time elapsed: 0 s  <<< ERROR!
> > >> java.lang.NoClassDefFoundError: Could not initialize class
> > >> ai.onnxruntime.OrtEnvironment
> > >>         at
> > >>
> > >>
> opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinder2Test(NameFinderDLEval.java:80)
> > >>
> > >> [ERROR] tokenNameFinder3Test  Time elapsed: 0 s  <<< ERROR!
> > >> java.lang.NoClassDefFoundError: Could not initialize class
> > >> ai.onnxruntime.OrtEnvironment
> > >>         at
> > >>
> > >>
> opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinder3Test(NameFinderDLEval.java:104)
> > >>
> > >> [ERROR] tokenNameFinderMultipleEntitiesTest  Time elapsed: 0 s  <<<
> ERROR!
> > >> java.lang.NoClassDefFoundError: Could not initialize class
> > >> ai.onnxruntime.OrtEnvironment
> > >>         at
> > >>
> > >>
> opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinderMultipleEntitiesTest(NameFinderDLEval.java:165)
> > >>
> > >> [INFO]
> > >> [INFO] Results:
> > >> [INFO]
> > >> [ERROR] Failures:
> > >> [ERROR]   NameFinderDLEval.invalidModel:183 Unexpected exception type
> > >> thrown, expected: <ai.onnxruntime.OrtException> but was:
> > >> <java.lang.NoClassDefFoundError>
> > >> [ERROR] Errors:
> > >> [ERROR]   DocumentCategorizerDLEval.categorize:48 ? NoClassDefFound
> Could
> > >> not initialize...
> > >> [ERROR]
>  DocumentCategorizerDLEval.categorizeWithInferenceOptions:141 ?
> > >> NoClassDefFound
> > >> [ERROR]   DocumentCategorizerDLEval.doccat:213 ? UnsatisfiedLink no
> > >> onnxruntime in java....
> > >> [ERROR]   DocumentCategorizerDLEval.scoreMap:167 ? NoClassDefFound
> Could
> > >> not initialize ...
> > >> [ERROR]   DocumentCategorizerDLEval.sortedScoreMap:190 ?
> NoClassDefFound
> > >> Could not initi...
> > >> [ERROR]   NameFinderDLEval.tokenNameFinder1Test:54 ? NoClassDefFound
> Could
> > >> not initializ...
> > >> [ERROR]   NameFinderDLEval.tokenNameFinder2Test:80 ? NoClassDefFound
> Could
> > >> not initializ...
> > >> [ERROR]   NameFinderDLEval.tokenNameFinder3Test:104 ? NoClassDefFound
> > >> Could
> > >> not initiali...
> > >> [ERROR]   NameFinderDLEval.tokenNameFinderMultipleEntitiesTest:165 ?
> > >> NoClassDefFound Cou...
> > >> [ERROR]   NameFinderDLEval.tokenNameFinderNoEntitiesTest:146 ?
> > >> UnsatisfiedLink no onnxru...
> > >> [ERROR]   NameFinderDLEval.tokenNameFinderNoInputTest:128 ?
> > >> NoClassDefFound
> > >> Could not in...
> > >> [INFO]
> > >> [ERROR] Tests run: 15, Failures: 1, Errors: 11, Skipped: 1
> > >> [INFO]
> > >> [INFO]
> > >>
> ------------------------------------------------------------------------
> > >> [INFO] Reactor Summary for Apache OpenNLP Reactor 2.1.1-SNAPSHOT:
> > >> [INFO]
> > >> [INFO] Apache OpenNLP Reactor ............................. SUCCESS [
> > >>  0.864 s]
> > >> [INFO] Apache OpenNLP Tools ............................... SUCCESS [
> > >>  02:06 h]
> > >> [INFO] Apache OpenNLP UIMA Annotators ..................... SUCCESS [
> > >>  1.550 s]
> > >> [INFO] Apache OpenNLP Brat Annotator ...................... SUCCESS [
> > >>  0.256 s]
> > >> [INFO] Apache OpenNLP Morfologik Addon .................... SUCCESS [
> > >>  1.271 s]
> > >> [INFO] Apache OpenNLP Documentation ....................... SUCCESS [
> > >>  0.048 s]
> > >> [INFO] Apache OpenNLP Distribution ........................ SUCCESS [
> > >> 42.403 s]
> > >> [INFO] Apache OpenNLP DL .................................. FAILURE [
> > >>  1.876 s]
> > >> [INFO]
> > >>
> ------------------------------------------------------------------------
> > >> [INFO] BUILD FAILURE
> > >> [INFO]
> > >>
> ------------------------------------------------------------------------
> > >> [INFO] Total time:  02:07 h
> > >> [INFO] Finished at: 2023-02-17T20:42:02+01:00
> > >> [INFO]
> > >>
> ------------------------------------------------------------------------
> > >> [ERROR] Failed to execute goal
> > >> org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test
> (default-test)
> > >> on project opennlp-dl: There are test failures.
> > >> [ERROR] After correcting the problems, you can resume the build with
> the
> > >> command
> > >> [ERROR]   mvn <args> -rf :opennlp-dl
> > >> (base) atitaarora@Atitas-MacBook-Pro opennlp % git pull
> > >> Already up to date.
> > >>
> > >> I haven't researched but at first glance at 10.45 pm feels like some
> issue
> > >> with onnx runtime on my Apple M1 Mac.
> > >>
> > >> Any suggestions?
> > >>
> > >> Thanks
> > >>
> > >> Best,
> > >> Atita
> > >>
> > >
>

Re: [VOTE] Apache OpenNLP 2.1.1 Release Candidate 2

Posted by Koji Sekiguchi <ko...@rondhuit.com>.
Hi Jeff,

Sorry for the late reply. +1 from me.
I run test and checked some signatures of the release. Thanks!

Koji

2023年2月20日(月) 23:23 Jeff Zemerick <jz...@apache.org>:
>
> Hi everyone,
>
> We are still looking for a third +1 vote (or a -1 vote and a reason to not
> proceed with the release).
>
> Thanks,
> Jeff
>
> On Sat, Feb 18, 2023 at 9:26 AM Jeff Zemerick <jz...@apache.org> wrote:
>
> > Hi Atita,
> >
> > Yes, I think it is an issue with the M1 Mac. Looking at onnxruntime it
> > says it supports Windows x64, Linux x64, macOS x64. (
> > https://onnxruntime.ai/docs/get-started/with-java.html)
> >
> > Thanks,
> > Jeff
> >
> >
> > On Fri, Feb 17, 2023 at 4:47 PM Atita Arora <at...@gmail.com> wrote:
> >
> >> Hi,
> >>
> >> Thank you Jeff for sharing the Eval-test-data and Thanks for sharing the
> >> mv
> >> Richard.
> >> Those are my results :
> >>
> >> [INFO] -------------------------------------------------------
> >> [INFO]  T E S T S
> >> [INFO] -------------------------------------------------------
> >> [INFO] Running
> >> opennlp.dl.doccat.scoring.AverageClassificationScoringStrategyTest
> >> [INFO] Running opennlp.dl.namefinder.NameFinderDLEval
> >> [INFO] Running opennlp.dl.doccat.DocumentCategorizerDLEval
> >> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> >> 0.016 s - in
> >> opennlp.dl.doccat.scoring.AverageClassificationScoringStrategyTest
> >> [ERROR] Tests run: 6, Failures: 0, Errors: 5, Skipped: 1, Time elapsed:
> >> 0.034 s <<< FAILURE! - in opennlp.dl.doccat.DocumentCategorizerDLEval
> >> [ERROR] doccat  Time elapsed: 0.021 s  <<< ERROR!
> >> java.lang.UnsatisfiedLinkError: no onnxruntime in java.library.path:
> >>
> >> /Users/atitaarora/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
> >>         at
> >>
> >> opennlp.dl.doccat.DocumentCategorizerDLEval.doccat(DocumentCategorizerDLEval.java:213)
> >>
> >> [ERROR] scoreMap  Time elapsed: 0.001 s  <<< ERROR!
> >> java.lang.NoClassDefFoundError: Could not initialize class
> >> ai.onnxruntime.OrtEnvironment
> >>         at
> >>
> >> opennlp.dl.doccat.DocumentCategorizerDLEval.scoreMap(DocumentCategorizerDLEval.java:167)
> >>
> >> [ERROR] categorizeWithInferenceOptions  Time elapsed: 0.001 s  <<< ERROR!
> >> java.lang.NoClassDefFoundError: Could not initialize class
> >> ai.onnxruntime.OrtEnvironment
> >>         at
> >>
> >> opennlp.dl.doccat.DocumentCategorizerDLEval.categorizeWithInferenceOptions(DocumentCategorizerDLEval.java:141)
> >>
> >> [ERROR] sortedScoreMap  Time elapsed: 0 s  <<< ERROR!
> >> java.lang.NoClassDefFoundError: Could not initialize class
> >> ai.onnxruntime.OrtEnvironment
> >>         at
> >>
> >> opennlp.dl.doccat.DocumentCategorizerDLEval.sortedScoreMap(DocumentCategorizerDLEval.java:190)
> >>
> >> [ERROR] categorize  Time elapsed: 0.001 s  <<< ERROR!
> >> java.lang.NoClassDefFoundError: Could not initialize class
> >> ai.onnxruntime.OrtEnvironment
> >>         at
> >>
> >> opennlp.dl.doccat.DocumentCategorizerDLEval.categorize(DocumentCategorizerDLEval.java:48)
> >>
> >> [ERROR] Tests run: 7, Failures: 1, Errors: 6, Skipped: 0, Time elapsed:
> >> 1.088 s <<< FAILURE! - in opennlp.dl.namefinder.NameFinderDLEval
> >> [ERROR] tokenNameFinderNoEntitiesTest  Time elapsed: 0.017 s  <<< ERROR!
> >> java.lang.UnsatisfiedLinkError: no onnxruntime in java.library.path:
> >>
> >> /Users/atitaarora/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
> >>         at
> >>
> >> opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinderNoEntitiesTest(NameFinderDLEval.java:146)
> >>
> >> [ERROR] invalidModel  Time elapsed: 0.003 s  <<< FAILURE!
> >> org.opentest4j.AssertionFailedError: Unexpected exception type thrown,
> >> expected: <ai.onnxruntime.OrtException> but was:
> >> <java.lang.NoClassDefFoundError>
> >>         at
> >>
> >> opennlp.dl.namefinder.NameFinderDLEval.invalidModel(NameFinderDLEval.java:183)
> >> Caused by: java.lang.NoClassDefFoundError: Could not initialize class
> >> ai.onnxruntime.OrtEnvironment
> >>         at
> >>
> >> opennlp.dl.namefinder.NameFinderDLEval.lambda$invalidModel$0(NameFinderDLEval.java:190)
> >>         at
> >>
> >> opennlp.dl.namefinder.NameFinderDLEval.invalidModel(NameFinderDLEval.java:183)
> >>
> >> [ERROR] tokenNameFinderNoInputTest  Time elapsed: 0.001 s  <<< ERROR!
> >> java.lang.NoClassDefFoundError: Could not initialize class
> >> ai.onnxruntime.OrtEnvironment
> >>         at
> >>
> >> opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinderNoInputTest(NameFinderDLEval.java:128)
> >>
> >> [ERROR] tokenNameFinder1Test  Time elapsed: 0 s  <<< ERROR!
> >> java.lang.NoClassDefFoundError: Could not initialize class
> >> ai.onnxruntime.OrtEnvironment
> >>         at
> >>
> >> opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinder1Test(NameFinderDLEval.java:54)
> >>
> >> [ERROR] tokenNameFinder2Test  Time elapsed: 0 s  <<< ERROR!
> >> java.lang.NoClassDefFoundError: Could not initialize class
> >> ai.onnxruntime.OrtEnvironment
> >>         at
> >>
> >> opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinder2Test(NameFinderDLEval.java:80)
> >>
> >> [ERROR] tokenNameFinder3Test  Time elapsed: 0 s  <<< ERROR!
> >> java.lang.NoClassDefFoundError: Could not initialize class
> >> ai.onnxruntime.OrtEnvironment
> >>         at
> >>
> >> opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinder3Test(NameFinderDLEval.java:104)
> >>
> >> [ERROR] tokenNameFinderMultipleEntitiesTest  Time elapsed: 0 s  <<< ERROR!
> >> java.lang.NoClassDefFoundError: Could not initialize class
> >> ai.onnxruntime.OrtEnvironment
> >>         at
> >>
> >> opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinderMultipleEntitiesTest(NameFinderDLEval.java:165)
> >>
> >> [INFO]
> >> [INFO] Results:
> >> [INFO]
> >> [ERROR] Failures:
> >> [ERROR]   NameFinderDLEval.invalidModel:183 Unexpected exception type
> >> thrown, expected: <ai.onnxruntime.OrtException> but was:
> >> <java.lang.NoClassDefFoundError>
> >> [ERROR] Errors:
> >> [ERROR]   DocumentCategorizerDLEval.categorize:48 ? NoClassDefFound Could
> >> not initialize...
> >> [ERROR]   DocumentCategorizerDLEval.categorizeWithInferenceOptions:141 ?
> >> NoClassDefFound
> >> [ERROR]   DocumentCategorizerDLEval.doccat:213 ? UnsatisfiedLink no
> >> onnxruntime in java....
> >> [ERROR]   DocumentCategorizerDLEval.scoreMap:167 ? NoClassDefFound Could
> >> not initialize ...
> >> [ERROR]   DocumentCategorizerDLEval.sortedScoreMap:190 ? NoClassDefFound
> >> Could not initi...
> >> [ERROR]   NameFinderDLEval.tokenNameFinder1Test:54 ? NoClassDefFound Could
> >> not initializ...
> >> [ERROR]   NameFinderDLEval.tokenNameFinder2Test:80 ? NoClassDefFound Could
> >> not initializ...
> >> [ERROR]   NameFinderDLEval.tokenNameFinder3Test:104 ? NoClassDefFound
> >> Could
> >> not initiali...
> >> [ERROR]   NameFinderDLEval.tokenNameFinderMultipleEntitiesTest:165 ?
> >> NoClassDefFound Cou...
> >> [ERROR]   NameFinderDLEval.tokenNameFinderNoEntitiesTest:146 ?
> >> UnsatisfiedLink no onnxru...
> >> [ERROR]   NameFinderDLEval.tokenNameFinderNoInputTest:128 ?
> >> NoClassDefFound
> >> Could not in...
> >> [INFO]
> >> [ERROR] Tests run: 15, Failures: 1, Errors: 11, Skipped: 1
> >> [INFO]
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] Reactor Summary for Apache OpenNLP Reactor 2.1.1-SNAPSHOT:
> >> [INFO]
> >> [INFO] Apache OpenNLP Reactor ............................. SUCCESS [
> >>  0.864 s]
> >> [INFO] Apache OpenNLP Tools ............................... SUCCESS [
> >>  02:06 h]
> >> [INFO] Apache OpenNLP UIMA Annotators ..................... SUCCESS [
> >>  1.550 s]
> >> [INFO] Apache OpenNLP Brat Annotator ...................... SUCCESS [
> >>  0.256 s]
> >> [INFO] Apache OpenNLP Morfologik Addon .................... SUCCESS [
> >>  1.271 s]
> >> [INFO] Apache OpenNLP Documentation ....................... SUCCESS [
> >>  0.048 s]
> >> [INFO] Apache OpenNLP Distribution ........................ SUCCESS [
> >> 42.403 s]
> >> [INFO] Apache OpenNLP DL .................................. FAILURE [
> >>  1.876 s]
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] BUILD FAILURE
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] Total time:  02:07 h
> >> [INFO] Finished at: 2023-02-17T20:42:02+01:00
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [ERROR] Failed to execute goal
> >> org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test)
> >> on project opennlp-dl: There are test failures.
> >> [ERROR] After correcting the problems, you can resume the build with the
> >> command
> >> [ERROR]   mvn <args> -rf :opennlp-dl
> >> (base) atitaarora@Atitas-MacBook-Pro opennlp % git pull
> >> Already up to date.
> >>
> >> I haven't researched but at first glance at 10.45 pm feels like some issue
> >> with onnx runtime on my Apple M1 Mac.
> >>
> >> Any suggestions?
> >>
> >> Thanks
> >>
> >> Best,
> >> Atita
> >>
> >

Re: [VOTE] Apache OpenNLP 2.1.1 Release Candidate 2

Posted by Jeff Zemerick <jz...@apache.org>.
Hi everyone,

We are still looking for a third +1 vote (or a -1 vote and a reason to not
proceed with the release).

Thanks,
Jeff

On Sat, Feb 18, 2023 at 9:26 AM Jeff Zemerick <jz...@apache.org> wrote:

> Hi Atita,
>
> Yes, I think it is an issue with the M1 Mac. Looking at onnxruntime it
> says it supports Windows x64, Linux x64, macOS x64. (
> https://onnxruntime.ai/docs/get-started/with-java.html)
>
> Thanks,
> Jeff
>
>
> On Fri, Feb 17, 2023 at 4:47 PM Atita Arora <at...@gmail.com> wrote:
>
>> Hi,
>>
>> Thank you Jeff for sharing the Eval-test-data and Thanks for sharing the
>> mv
>> Richard.
>> Those are my results :
>>
>> [INFO] -------------------------------------------------------
>> [INFO]  T E S T S
>> [INFO] -------------------------------------------------------
>> [INFO] Running
>> opennlp.dl.doccat.scoring.AverageClassificationScoringStrategyTest
>> [INFO] Running opennlp.dl.namefinder.NameFinderDLEval
>> [INFO] Running opennlp.dl.doccat.DocumentCategorizerDLEval
>> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
>> 0.016 s - in
>> opennlp.dl.doccat.scoring.AverageClassificationScoringStrategyTest
>> [ERROR] Tests run: 6, Failures: 0, Errors: 5, Skipped: 1, Time elapsed:
>> 0.034 s <<< FAILURE! - in opennlp.dl.doccat.DocumentCategorizerDLEval
>> [ERROR] doccat  Time elapsed: 0.021 s  <<< ERROR!
>> java.lang.UnsatisfiedLinkError: no onnxruntime in java.library.path:
>>
>> /Users/atitaarora/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
>>         at
>>
>> opennlp.dl.doccat.DocumentCategorizerDLEval.doccat(DocumentCategorizerDLEval.java:213)
>>
>> [ERROR] scoreMap  Time elapsed: 0.001 s  <<< ERROR!
>> java.lang.NoClassDefFoundError: Could not initialize class
>> ai.onnxruntime.OrtEnvironment
>>         at
>>
>> opennlp.dl.doccat.DocumentCategorizerDLEval.scoreMap(DocumentCategorizerDLEval.java:167)
>>
>> [ERROR] categorizeWithInferenceOptions  Time elapsed: 0.001 s  <<< ERROR!
>> java.lang.NoClassDefFoundError: Could not initialize class
>> ai.onnxruntime.OrtEnvironment
>>         at
>>
>> opennlp.dl.doccat.DocumentCategorizerDLEval.categorizeWithInferenceOptions(DocumentCategorizerDLEval.java:141)
>>
>> [ERROR] sortedScoreMap  Time elapsed: 0 s  <<< ERROR!
>> java.lang.NoClassDefFoundError: Could not initialize class
>> ai.onnxruntime.OrtEnvironment
>>         at
>>
>> opennlp.dl.doccat.DocumentCategorizerDLEval.sortedScoreMap(DocumentCategorizerDLEval.java:190)
>>
>> [ERROR] categorize  Time elapsed: 0.001 s  <<< ERROR!
>> java.lang.NoClassDefFoundError: Could not initialize class
>> ai.onnxruntime.OrtEnvironment
>>         at
>>
>> opennlp.dl.doccat.DocumentCategorizerDLEval.categorize(DocumentCategorizerDLEval.java:48)
>>
>> [ERROR] Tests run: 7, Failures: 1, Errors: 6, Skipped: 0, Time elapsed:
>> 1.088 s <<< FAILURE! - in opennlp.dl.namefinder.NameFinderDLEval
>> [ERROR] tokenNameFinderNoEntitiesTest  Time elapsed: 0.017 s  <<< ERROR!
>> java.lang.UnsatisfiedLinkError: no onnxruntime in java.library.path:
>>
>> /Users/atitaarora/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
>>         at
>>
>> opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinderNoEntitiesTest(NameFinderDLEval.java:146)
>>
>> [ERROR] invalidModel  Time elapsed: 0.003 s  <<< FAILURE!
>> org.opentest4j.AssertionFailedError: Unexpected exception type thrown,
>> expected: <ai.onnxruntime.OrtException> but was:
>> <java.lang.NoClassDefFoundError>
>>         at
>>
>> opennlp.dl.namefinder.NameFinderDLEval.invalidModel(NameFinderDLEval.java:183)
>> Caused by: java.lang.NoClassDefFoundError: Could not initialize class
>> ai.onnxruntime.OrtEnvironment
>>         at
>>
>> opennlp.dl.namefinder.NameFinderDLEval.lambda$invalidModel$0(NameFinderDLEval.java:190)
>>         at
>>
>> opennlp.dl.namefinder.NameFinderDLEval.invalidModel(NameFinderDLEval.java:183)
>>
>> [ERROR] tokenNameFinderNoInputTest  Time elapsed: 0.001 s  <<< ERROR!
>> java.lang.NoClassDefFoundError: Could not initialize class
>> ai.onnxruntime.OrtEnvironment
>>         at
>>
>> opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinderNoInputTest(NameFinderDLEval.java:128)
>>
>> [ERROR] tokenNameFinder1Test  Time elapsed: 0 s  <<< ERROR!
>> java.lang.NoClassDefFoundError: Could not initialize class
>> ai.onnxruntime.OrtEnvironment
>>         at
>>
>> opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinder1Test(NameFinderDLEval.java:54)
>>
>> [ERROR] tokenNameFinder2Test  Time elapsed: 0 s  <<< ERROR!
>> java.lang.NoClassDefFoundError: Could not initialize class
>> ai.onnxruntime.OrtEnvironment
>>         at
>>
>> opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinder2Test(NameFinderDLEval.java:80)
>>
>> [ERROR] tokenNameFinder3Test  Time elapsed: 0 s  <<< ERROR!
>> java.lang.NoClassDefFoundError: Could not initialize class
>> ai.onnxruntime.OrtEnvironment
>>         at
>>
>> opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinder3Test(NameFinderDLEval.java:104)
>>
>> [ERROR] tokenNameFinderMultipleEntitiesTest  Time elapsed: 0 s  <<< ERROR!
>> java.lang.NoClassDefFoundError: Could not initialize class
>> ai.onnxruntime.OrtEnvironment
>>         at
>>
>> opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinderMultipleEntitiesTest(NameFinderDLEval.java:165)
>>
>> [INFO]
>> [INFO] Results:
>> [INFO]
>> [ERROR] Failures:
>> [ERROR]   NameFinderDLEval.invalidModel:183 Unexpected exception type
>> thrown, expected: <ai.onnxruntime.OrtException> but was:
>> <java.lang.NoClassDefFoundError>
>> [ERROR] Errors:
>> [ERROR]   DocumentCategorizerDLEval.categorize:48 ? NoClassDefFound Could
>> not initialize...
>> [ERROR]   DocumentCategorizerDLEval.categorizeWithInferenceOptions:141 ?
>> NoClassDefFound
>> [ERROR]   DocumentCategorizerDLEval.doccat:213 ? UnsatisfiedLink no
>> onnxruntime in java....
>> [ERROR]   DocumentCategorizerDLEval.scoreMap:167 ? NoClassDefFound Could
>> not initialize ...
>> [ERROR]   DocumentCategorizerDLEval.sortedScoreMap:190 ? NoClassDefFound
>> Could not initi...
>> [ERROR]   NameFinderDLEval.tokenNameFinder1Test:54 ? NoClassDefFound Could
>> not initializ...
>> [ERROR]   NameFinderDLEval.tokenNameFinder2Test:80 ? NoClassDefFound Could
>> not initializ...
>> [ERROR]   NameFinderDLEval.tokenNameFinder3Test:104 ? NoClassDefFound
>> Could
>> not initiali...
>> [ERROR]   NameFinderDLEval.tokenNameFinderMultipleEntitiesTest:165 ?
>> NoClassDefFound Cou...
>> [ERROR]   NameFinderDLEval.tokenNameFinderNoEntitiesTest:146 ?
>> UnsatisfiedLink no onnxru...
>> [ERROR]   NameFinderDLEval.tokenNameFinderNoInputTest:128 ?
>> NoClassDefFound
>> Could not in...
>> [INFO]
>> [ERROR] Tests run: 15, Failures: 1, Errors: 11, Skipped: 1
>> [INFO]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary for Apache OpenNLP Reactor 2.1.1-SNAPSHOT:
>> [INFO]
>> [INFO] Apache OpenNLP Reactor ............................. SUCCESS [
>>  0.864 s]
>> [INFO] Apache OpenNLP Tools ............................... SUCCESS [
>>  02:06 h]
>> [INFO] Apache OpenNLP UIMA Annotators ..................... SUCCESS [
>>  1.550 s]
>> [INFO] Apache OpenNLP Brat Annotator ...................... SUCCESS [
>>  0.256 s]
>> [INFO] Apache OpenNLP Morfologik Addon .................... SUCCESS [
>>  1.271 s]
>> [INFO] Apache OpenNLP Documentation ....................... SUCCESS [
>>  0.048 s]
>> [INFO] Apache OpenNLP Distribution ........................ SUCCESS [
>> 42.403 s]
>> [INFO] Apache OpenNLP DL .................................. FAILURE [
>>  1.876 s]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time:  02:07 h
>> [INFO] Finished at: 2023-02-17T20:42:02+01:00
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test)
>> on project opennlp-dl: There are test failures.
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR]   mvn <args> -rf :opennlp-dl
>> (base) atitaarora@Atitas-MacBook-Pro opennlp % git pull
>> Already up to date.
>>
>> I haven't researched but at first glance at 10.45 pm feels like some issue
>> with onnx runtime on my Apple M1 Mac.
>>
>> Any suggestions?
>>
>> Thanks
>>
>> Best,
>> Atita
>>
>

Re: [VOTE] Apache OpenNLP 2.1.1 Release Candidate 2

Posted by Jeff Zemerick <jz...@apache.org>.
Hi Atita,

Yes, I think it is an issue with the M1 Mac. Looking at onnxruntime it says
it supports Windows x64, Linux x64, macOS x64. (
https://onnxruntime.ai/docs/get-started/with-java.html)

Thanks,
Jeff


On Fri, Feb 17, 2023 at 4:47 PM Atita Arora <at...@gmail.com> wrote:

> Hi,
>
> Thank you Jeff for sharing the Eval-test-data and Thanks for sharing the mv
> Richard.
> Those are my results :
>
> [INFO] -------------------------------------------------------
> [INFO]  T E S T S
> [INFO] -------------------------------------------------------
> [INFO] Running
> opennlp.dl.doccat.scoring.AverageClassificationScoringStrategyTest
> [INFO] Running opennlp.dl.namefinder.NameFinderDLEval
> [INFO] Running opennlp.dl.doccat.DocumentCategorizerDLEval
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 0.016 s - in
> opennlp.dl.doccat.scoring.AverageClassificationScoringStrategyTest
> [ERROR] Tests run: 6, Failures: 0, Errors: 5, Skipped: 1, Time elapsed:
> 0.034 s <<< FAILURE! - in opennlp.dl.doccat.DocumentCategorizerDLEval
> [ERROR] doccat  Time elapsed: 0.021 s  <<< ERROR!
> java.lang.UnsatisfiedLinkError: no onnxruntime in java.library.path:
>
> /Users/atitaarora/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
>         at
>
> opennlp.dl.doccat.DocumentCategorizerDLEval.doccat(DocumentCategorizerDLEval.java:213)
>
> [ERROR] scoreMap  Time elapsed: 0.001 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class
> ai.onnxruntime.OrtEnvironment
>         at
>
> opennlp.dl.doccat.DocumentCategorizerDLEval.scoreMap(DocumentCategorizerDLEval.java:167)
>
> [ERROR] categorizeWithInferenceOptions  Time elapsed: 0.001 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class
> ai.onnxruntime.OrtEnvironment
>         at
>
> opennlp.dl.doccat.DocumentCategorizerDLEval.categorizeWithInferenceOptions(DocumentCategorizerDLEval.java:141)
>
> [ERROR] sortedScoreMap  Time elapsed: 0 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class
> ai.onnxruntime.OrtEnvironment
>         at
>
> opennlp.dl.doccat.DocumentCategorizerDLEval.sortedScoreMap(DocumentCategorizerDLEval.java:190)
>
> [ERROR] categorize  Time elapsed: 0.001 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class
> ai.onnxruntime.OrtEnvironment
>         at
>
> opennlp.dl.doccat.DocumentCategorizerDLEval.categorize(DocumentCategorizerDLEval.java:48)
>
> [ERROR] Tests run: 7, Failures: 1, Errors: 6, Skipped: 0, Time elapsed:
> 1.088 s <<< FAILURE! - in opennlp.dl.namefinder.NameFinderDLEval
> [ERROR] tokenNameFinderNoEntitiesTest  Time elapsed: 0.017 s  <<< ERROR!
> java.lang.UnsatisfiedLinkError: no onnxruntime in java.library.path:
>
> /Users/atitaarora/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
>         at
>
> opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinderNoEntitiesTest(NameFinderDLEval.java:146)
>
> [ERROR] invalidModel  Time elapsed: 0.003 s  <<< FAILURE!
> org.opentest4j.AssertionFailedError: Unexpected exception type thrown,
> expected: <ai.onnxruntime.OrtException> but was:
> <java.lang.NoClassDefFoundError>
>         at
>
> opennlp.dl.namefinder.NameFinderDLEval.invalidModel(NameFinderDLEval.java:183)
> Caused by: java.lang.NoClassDefFoundError: Could not initialize class
> ai.onnxruntime.OrtEnvironment
>         at
>
> opennlp.dl.namefinder.NameFinderDLEval.lambda$invalidModel$0(NameFinderDLEval.java:190)
>         at
>
> opennlp.dl.namefinder.NameFinderDLEval.invalidModel(NameFinderDLEval.java:183)
>
> [ERROR] tokenNameFinderNoInputTest  Time elapsed: 0.001 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class
> ai.onnxruntime.OrtEnvironment
>         at
>
> opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinderNoInputTest(NameFinderDLEval.java:128)
>
> [ERROR] tokenNameFinder1Test  Time elapsed: 0 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class
> ai.onnxruntime.OrtEnvironment
>         at
>
> opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinder1Test(NameFinderDLEval.java:54)
>
> [ERROR] tokenNameFinder2Test  Time elapsed: 0 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class
> ai.onnxruntime.OrtEnvironment
>         at
>
> opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinder2Test(NameFinderDLEval.java:80)
>
> [ERROR] tokenNameFinder3Test  Time elapsed: 0 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class
> ai.onnxruntime.OrtEnvironment
>         at
>
> opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinder3Test(NameFinderDLEval.java:104)
>
> [ERROR] tokenNameFinderMultipleEntitiesTest  Time elapsed: 0 s  <<< ERROR!
> java.lang.NoClassDefFoundError: Could not initialize class
> ai.onnxruntime.OrtEnvironment
>         at
>
> opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinderMultipleEntitiesTest(NameFinderDLEval.java:165)
>
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Failures:
> [ERROR]   NameFinderDLEval.invalidModel:183 Unexpected exception type
> thrown, expected: <ai.onnxruntime.OrtException> but was:
> <java.lang.NoClassDefFoundError>
> [ERROR] Errors:
> [ERROR]   DocumentCategorizerDLEval.categorize:48 ? NoClassDefFound Could
> not initialize...
> [ERROR]   DocumentCategorizerDLEval.categorizeWithInferenceOptions:141 ?
> NoClassDefFound
> [ERROR]   DocumentCategorizerDLEval.doccat:213 ? UnsatisfiedLink no
> onnxruntime in java....
> [ERROR]   DocumentCategorizerDLEval.scoreMap:167 ? NoClassDefFound Could
> not initialize ...
> [ERROR]   DocumentCategorizerDLEval.sortedScoreMap:190 ? NoClassDefFound
> Could not initi...
> [ERROR]   NameFinderDLEval.tokenNameFinder1Test:54 ? NoClassDefFound Could
> not initializ...
> [ERROR]   NameFinderDLEval.tokenNameFinder2Test:80 ? NoClassDefFound Could
> not initializ...
> [ERROR]   NameFinderDLEval.tokenNameFinder3Test:104 ? NoClassDefFound Could
> not initiali...
> [ERROR]   NameFinderDLEval.tokenNameFinderMultipleEntitiesTest:165 ?
> NoClassDefFound Cou...
> [ERROR]   NameFinderDLEval.tokenNameFinderNoEntitiesTest:146 ?
> UnsatisfiedLink no onnxru...
> [ERROR]   NameFinderDLEval.tokenNameFinderNoInputTest:128 ? NoClassDefFound
> Could not in...
> [INFO]
> [ERROR] Tests run: 15, Failures: 1, Errors: 11, Skipped: 1
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary for Apache OpenNLP Reactor 2.1.1-SNAPSHOT:
> [INFO]
> [INFO] Apache OpenNLP Reactor ............................. SUCCESS [
>  0.864 s]
> [INFO] Apache OpenNLP Tools ............................... SUCCESS [
>  02:06 h]
> [INFO] Apache OpenNLP UIMA Annotators ..................... SUCCESS [
>  1.550 s]
> [INFO] Apache OpenNLP Brat Annotator ...................... SUCCESS [
>  0.256 s]
> [INFO] Apache OpenNLP Morfologik Addon .................... SUCCESS [
>  1.271 s]
> [INFO] Apache OpenNLP Documentation ....................... SUCCESS [
>  0.048 s]
> [INFO] Apache OpenNLP Distribution ........................ SUCCESS [
> 42.403 s]
> [INFO] Apache OpenNLP DL .................................. FAILURE [
>  1.876 s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time:  02:07 h
> [INFO] Finished at: 2023-02-17T20:42:02+01:00
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test)
> on project opennlp-dl: There are test failures.
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <args> -rf :opennlp-dl
> (base) atitaarora@Atitas-MacBook-Pro opennlp % git pull
> Already up to date.
>
> I haven't researched but at first glance at 10.45 pm feels like some issue
> with onnx runtime on my Apple M1 Mac.
>
> Any suggestions?
>
> Thanks
>
> Best,
> Atita
>

Re: [VOTE] Apache OpenNLP 2.1.1 Release Candidate 2

Posted by Atita Arora <at...@gmail.com>.
Hi,

Thank you Jeff for sharing the Eval-test-data and Thanks for sharing the mv
Richard.
Those are my results :

[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running
opennlp.dl.doccat.scoring.AverageClassificationScoringStrategyTest
[INFO] Running opennlp.dl.namefinder.NameFinderDLEval
[INFO] Running opennlp.dl.doccat.DocumentCategorizerDLEval
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
0.016 s - in
opennlp.dl.doccat.scoring.AverageClassificationScoringStrategyTest
[ERROR] Tests run: 6, Failures: 0, Errors: 5, Skipped: 1, Time elapsed:
0.034 s <<< FAILURE! - in opennlp.dl.doccat.DocumentCategorizerDLEval
[ERROR] doccat  Time elapsed: 0.021 s  <<< ERROR!
java.lang.UnsatisfiedLinkError: no onnxruntime in java.library.path:
/Users/atitaarora/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
        at
opennlp.dl.doccat.DocumentCategorizerDLEval.doccat(DocumentCategorizerDLEval.java:213)

[ERROR] scoreMap  Time elapsed: 0.001 s  <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class
ai.onnxruntime.OrtEnvironment
        at
opennlp.dl.doccat.DocumentCategorizerDLEval.scoreMap(DocumentCategorizerDLEval.java:167)

[ERROR] categorizeWithInferenceOptions  Time elapsed: 0.001 s  <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class
ai.onnxruntime.OrtEnvironment
        at
opennlp.dl.doccat.DocumentCategorizerDLEval.categorizeWithInferenceOptions(DocumentCategorizerDLEval.java:141)

[ERROR] sortedScoreMap  Time elapsed: 0 s  <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class
ai.onnxruntime.OrtEnvironment
        at
opennlp.dl.doccat.DocumentCategorizerDLEval.sortedScoreMap(DocumentCategorizerDLEval.java:190)

[ERROR] categorize  Time elapsed: 0.001 s  <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class
ai.onnxruntime.OrtEnvironment
        at
opennlp.dl.doccat.DocumentCategorizerDLEval.categorize(DocumentCategorizerDLEval.java:48)

[ERROR] Tests run: 7, Failures: 1, Errors: 6, Skipped: 0, Time elapsed:
1.088 s <<< FAILURE! - in opennlp.dl.namefinder.NameFinderDLEval
[ERROR] tokenNameFinderNoEntitiesTest  Time elapsed: 0.017 s  <<< ERROR!
java.lang.UnsatisfiedLinkError: no onnxruntime in java.library.path:
/Users/atitaarora/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
        at
opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinderNoEntitiesTest(NameFinderDLEval.java:146)

[ERROR] invalidModel  Time elapsed: 0.003 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: Unexpected exception type thrown,
expected: <ai.onnxruntime.OrtException> but was:
<java.lang.NoClassDefFoundError>
        at
opennlp.dl.namefinder.NameFinderDLEval.invalidModel(NameFinderDLEval.java:183)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class
ai.onnxruntime.OrtEnvironment
        at
opennlp.dl.namefinder.NameFinderDLEval.lambda$invalidModel$0(NameFinderDLEval.java:190)
        at
opennlp.dl.namefinder.NameFinderDLEval.invalidModel(NameFinderDLEval.java:183)

[ERROR] tokenNameFinderNoInputTest  Time elapsed: 0.001 s  <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class
ai.onnxruntime.OrtEnvironment
        at
opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinderNoInputTest(NameFinderDLEval.java:128)

[ERROR] tokenNameFinder1Test  Time elapsed: 0 s  <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class
ai.onnxruntime.OrtEnvironment
        at
opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinder1Test(NameFinderDLEval.java:54)

[ERROR] tokenNameFinder2Test  Time elapsed: 0 s  <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class
ai.onnxruntime.OrtEnvironment
        at
opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinder2Test(NameFinderDLEval.java:80)

[ERROR] tokenNameFinder3Test  Time elapsed: 0 s  <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class
ai.onnxruntime.OrtEnvironment
        at
opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinder3Test(NameFinderDLEval.java:104)

[ERROR] tokenNameFinderMultipleEntitiesTest  Time elapsed: 0 s  <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class
ai.onnxruntime.OrtEnvironment
        at
opennlp.dl.namefinder.NameFinderDLEval.tokenNameFinderMultipleEntitiesTest(NameFinderDLEval.java:165)

[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   NameFinderDLEval.invalidModel:183 Unexpected exception type
thrown, expected: <ai.onnxruntime.OrtException> but was:
<java.lang.NoClassDefFoundError>
[ERROR] Errors:
[ERROR]   DocumentCategorizerDLEval.categorize:48 ? NoClassDefFound Could
not initialize...
[ERROR]   DocumentCategorizerDLEval.categorizeWithInferenceOptions:141 ?
NoClassDefFound
[ERROR]   DocumentCategorizerDLEval.doccat:213 ? UnsatisfiedLink no
onnxruntime in java....
[ERROR]   DocumentCategorizerDLEval.scoreMap:167 ? NoClassDefFound Could
not initialize ...
[ERROR]   DocumentCategorizerDLEval.sortedScoreMap:190 ? NoClassDefFound
Could not initi...
[ERROR]   NameFinderDLEval.tokenNameFinder1Test:54 ? NoClassDefFound Could
not initializ...
[ERROR]   NameFinderDLEval.tokenNameFinder2Test:80 ? NoClassDefFound Could
not initializ...
[ERROR]   NameFinderDLEval.tokenNameFinder3Test:104 ? NoClassDefFound Could
not initiali...
[ERROR]   NameFinderDLEval.tokenNameFinderMultipleEntitiesTest:165 ?
NoClassDefFound Cou...
[ERROR]   NameFinderDLEval.tokenNameFinderNoEntitiesTest:146 ?
UnsatisfiedLink no onnxru...
[ERROR]   NameFinderDLEval.tokenNameFinderNoInputTest:128 ? NoClassDefFound
Could not in...
[INFO]
[ERROR] Tests run: 15, Failures: 1, Errors: 11, Skipped: 1
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary for Apache OpenNLP Reactor 2.1.1-SNAPSHOT:
[INFO]
[INFO] Apache OpenNLP Reactor ............................. SUCCESS [
 0.864 s]
[INFO] Apache OpenNLP Tools ............................... SUCCESS [
 02:06 h]
[INFO] Apache OpenNLP UIMA Annotators ..................... SUCCESS [
 1.550 s]
[INFO] Apache OpenNLP Brat Annotator ...................... SUCCESS [
 0.256 s]
[INFO] Apache OpenNLP Morfologik Addon .................... SUCCESS [
 1.271 s]
[INFO] Apache OpenNLP Documentation ....................... SUCCESS [
 0.048 s]
[INFO] Apache OpenNLP Distribution ........................ SUCCESS [
42.403 s]
[INFO] Apache OpenNLP DL .................................. FAILURE [
 1.876 s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time:  02:07 h
[INFO] Finished at: 2023-02-17T20:42:02+01:00
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test)
on project opennlp-dl: There are test failures.
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <args> -rf :opennlp-dl
(base) atitaarora@Atitas-MacBook-Pro opennlp % git pull
Already up to date.

I haven't researched but at first glance at 10.45 pm feels like some issue
with onnx runtime on my Apple M1 Mac.

Any suggestions?

Thanks

Best,
Atita

Re: [VOTE] Apache OpenNLP 2.1.1 Release Candidate 2

Posted by Jeff Zemerick <jz...@apache.org>.
Atita, I'll reach out to you about the evaluation test data.

Thanks!
Jeff

On Fri, Feb 17, 2023 at 6:54 AM Richard Zowalla <ri...@zowalla.com> wrote:

> For eval tests it would need to be:
>
> mvn test -DOPENNLP_DATA_DIR=/path/to/opennlp-eval-test-data/ -Peval-
> tests
>
>
>
> Gruß
> Richard
>
>
>
>
> Am Freitag, dem 17.02.2023 um 12:51 +0100 schrieb Atita Arora:
> > Hi,
> >
> > I ran :
> >
> > mvn clean install -Peval-tests -X
> >
> >
> > Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537)
> >
> > Maven home: /opt/homebrew/Cellar/maven/3.8.4/libexec
> >
> > Java version: 17.0.5, vendor: Homebrew, runtime:
> > /opt/homebrew/Cellar/openjdk@17/17.0.5/libexec/openjdk.jdk/Contents/H
> > ome
> >
> > Default locale: en_DE, platform encoding: US-ASCII
> >
> > OS name: "mac os x", version: "13.1", arch: "aarch64", family: "mac"
> >
> >
> > [ERROR] Errors:
> >
> > [ERROR]   ArvoresDeitadasEval.verifyTrainingData:82-
> > >getLineSample:76->AbstractEvalTest.getOpennlpDataDir:107
> > ? NullPointer
> >
> > [ERROR]   Conll00ChunkerEval.verifyTrainingData:78-
> > >AbstractEvalTest.getOpennlpDataDir:107
> > ? NullPointer
> >
> > [ERROR]   Conll02NameFinderEval.verifyTrainingData:88-
> > >AbstractEvalTest.getOpennlpDataDir:107
> > ? NullPointer
> >
> > [ERROR]   ConllXPosTaggerEval.verifyTrainingData:86-
> > >AbstractEvalTest.getOpennlpDataDir:107
> > ? NullPointer
> >
> > [ERROR]   OntoNotes4NameFinderEval.verifyTrainingData:89-
> > >AbstractEvalTest.getOpennlpDataDir:107
> > ? NullPointer
> >
> > [ERROR]   OntoNotes4ParserEval.verifyTrainingData:74-
> > >createParseSampleStream:48->AbstractEvalTest.getOpennlpDataDir:107
> > ? NullPointer
> >
> > [ERROR]   OntoNotes4PosTaggerEval.verifyTrainingData:71-
> > >createPOSSampleStream:45->AbstractEvalTest.getOpennlpDataDir:107
> > ? NullPointer
> >
> > [ERROR]   SourceForgeModelEval.verifyTrainingData:165-
> > >AbstractEvalTest.getOpennlpDataDir:107
> > ? NullPointer
> >
> > [ERROR]   UniversalDependency20Eval.verifyTrainingData:49-
> > >AbstractEvalTest.getOpennlpDataDir:107
> > ? NullPointer
> >
> > [INFO]
> >
> > [ERROR] Tests run: 890, Failures: 0, Errors: 9, Skipped: 1
> >
> >
> > [INFO] Reactor Summary for Apache OpenNLP Reactor 2.1.1-SNAPSHOT:
> >
> > [INFO]
> >
> > [INFO] Apache OpenNLP Reactor ............................. SUCCESS
> > [  3.579
> > s]
> >
> > [INFO] Apache OpenNLP Tools ............................... FAILURE [
> > 31.861 s]
> >
> > [INFO] Apache OpenNLP UIMA Annotators ..................... SKIPPED
> >
> > [INFO] Apache OpenNLP Brat Annotator ...................... SKIPPED
> >
> > [INFO] Apache OpenNLP Morfologik Addon .................... SKIPPED
> >
> > [INFO] Apache OpenNLP Documentation ....................... SKIPPED
> >
> > [INFO] Apache OpenNLP Distribution ........................ SKIPPED
> >
> > [INFO] Apache OpenNLP DL .................................. SKIPPED
> >
> > [INFO]
> > -------------------------------------------------------------------
> > -----
> >
> > [INFO] BUILD FAILURE
> >
> > [INFO]
> > -------------------------------------------------------------------
> > -----
> >
> > [INFO] Total time:  35.510 s
> >
> > [INFO] Finished at: 2023-02-17T12:46:11+01:00
> >
> > Not sure if I did it wrong ?
> >
> >
> > On Thu, Feb 16, 2023 at 5:26 PM Richard Zowalla <rz...@apache.org>
> > wrote:
> >
> > > Hi folks,
> > >
> > > this vote needs some more attention :-)
> > >
> > > Gruß
> > > Richard
> > >
> > > Am Montag, dem 06.02.2023 um 11:28 -0500 schrieb Jeff Zemerick:
> > > > Hi folks,
> > > >
> > > > I have posted a 2nd release candidate for the Apache OpenNLP
> > > > 2.1.1
> > > > release
> > > > and it is ready for testing.
> > > >
> > > > The distributables can be downloaded from:
> > > >
> > >
> https://repository.apache.org/content/repositories/orgapacheopennlp-1032/org/apache/opennlp/opennlp-distr/2.1.1/
> > > > The release was made from the Apache OpenNLP 2.1.1 tag at:
> > > > https://github.com/apache/opennlp/tree/opennlp-2.1.1
> > > >
> > > > To use it in a maven build set the version for opennlp-tools or
> > > > opennlp-uima to 2.1.1 and add the following URL to your
> > > > settings.xml
> > > > file:
> > > >
> https://repository.apache.org/content/repositories/orgapacheopennlp-1032
> > > >
> > > > The release was made using the OpenNLP release process,
> > > > documented on
> > > > the
> > > > website:
> > > > https://opennlp.apache.org/release.html
> > > >
> > > > Please vote on releasing these packages as Apache OpenNLP 2.1.1.
> > > > The
> > > > vote
> > > > is open for at least the next 72 hours.
> > > >
> > > > Only votes from OpenNLP PMC are binding, but everyone is welcome
> > > > to
> > > > check
> > > > the release candidate and vote.
> > > > The vote passes if at least three binding +1 votes are cast.
> > > >
> > > > [ ] +1 Release the packages as Apache OpenNLP 2.1.1
> > > > [ ] -1 Do not release the packages because...
> > > >
> > > > Thanks!
> > > > Jeff
>
>

Re: [VOTE] Apache OpenNLP 2.1.1 Release Candidate 2

Posted by Richard Zowalla <ri...@zowalla.com>.
For eval tests it would need to be:

mvn test -DOPENNLP_DATA_DIR=/path/to/opennlp-eval-test-data/ -Peval-
tests



Gruß
Richard




Am Freitag, dem 17.02.2023 um 12:51 +0100 schrieb Atita Arora:
> Hi,
> 
> I ran :
> 
> mvn clean install -Peval-tests -X
> 
> 
> Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537)
> 
> Maven home: /opt/homebrew/Cellar/maven/3.8.4/libexec
> 
> Java version: 17.0.5, vendor: Homebrew, runtime:
> /opt/homebrew/Cellar/openjdk@17/17.0.5/libexec/openjdk.jdk/Contents/H
> ome
> 
> Default locale: en_DE, platform encoding: US-ASCII
> 
> OS name: "mac os x", version: "13.1", arch: "aarch64", family: "mac"
> 
> 
> [ERROR] Errors:
> 
> [ERROR]   ArvoresDeitadasEval.verifyTrainingData:82-
> >getLineSample:76->AbstractEvalTest.getOpennlpDataDir:107
> ? NullPointer
> 
> [ERROR]   Conll00ChunkerEval.verifyTrainingData:78-
> >AbstractEvalTest.getOpennlpDataDir:107
> ? NullPointer
> 
> [ERROR]   Conll02NameFinderEval.verifyTrainingData:88-
> >AbstractEvalTest.getOpennlpDataDir:107
> ? NullPointer
> 
> [ERROR]   ConllXPosTaggerEval.verifyTrainingData:86-
> >AbstractEvalTest.getOpennlpDataDir:107
> ? NullPointer
> 
> [ERROR]   OntoNotes4NameFinderEval.verifyTrainingData:89-
> >AbstractEvalTest.getOpennlpDataDir:107
> ? NullPointer
> 
> [ERROR]   OntoNotes4ParserEval.verifyTrainingData:74-
> >createParseSampleStream:48->AbstractEvalTest.getOpennlpDataDir:107
> ? NullPointer
> 
> [ERROR]   OntoNotes4PosTaggerEval.verifyTrainingData:71-
> >createPOSSampleStream:45->AbstractEvalTest.getOpennlpDataDir:107
> ? NullPointer
> 
> [ERROR]   SourceForgeModelEval.verifyTrainingData:165-
> >AbstractEvalTest.getOpennlpDataDir:107
> ? NullPointer
> 
> [ERROR]   UniversalDependency20Eval.verifyTrainingData:49-
> >AbstractEvalTest.getOpennlpDataDir:107
> ? NullPointer
> 
> [INFO]
> 
> [ERROR] Tests run: 890, Failures: 0, Errors: 9, Skipped: 1
> 
> 
> [INFO] Reactor Summary for Apache OpenNLP Reactor 2.1.1-SNAPSHOT:
> 
> [INFO]
> 
> [INFO] Apache OpenNLP Reactor ............................. SUCCESS
> [  3.579
> s]
> 
> [INFO] Apache OpenNLP Tools ............................... FAILURE [
> 31.861 s]
> 
> [INFO] Apache OpenNLP UIMA Annotators ..................... SKIPPED
> 
> [INFO] Apache OpenNLP Brat Annotator ...................... SKIPPED
> 
> [INFO] Apache OpenNLP Morfologik Addon .................... SKIPPED
> 
> [INFO] Apache OpenNLP Documentation ....................... SKIPPED
> 
> [INFO] Apache OpenNLP Distribution ........................ SKIPPED
> 
> [INFO] Apache OpenNLP DL .................................. SKIPPED
> 
> [INFO]
> -------------------------------------------------------------------
> -----
> 
> [INFO] BUILD FAILURE
> 
> [INFO]
> -------------------------------------------------------------------
> -----
> 
> [INFO] Total time:  35.510 s
> 
> [INFO] Finished at: 2023-02-17T12:46:11+01:00
> 
> Not sure if I did it wrong ?
> 
> 
> On Thu, Feb 16, 2023 at 5:26 PM Richard Zowalla <rz...@apache.org>
> wrote:
> 
> > Hi folks,
> > 
> > this vote needs some more attention :-)
> > 
> > Gruß
> > Richard
> > 
> > Am Montag, dem 06.02.2023 um 11:28 -0500 schrieb Jeff Zemerick:
> > > Hi folks,
> > > 
> > > I have posted a 2nd release candidate for the Apache OpenNLP
> > > 2.1.1
> > > release
> > > and it is ready for testing.
> > > 
> > > The distributables can be downloaded from:
> > > 
> > https://repository.apache.org/content/repositories/orgapacheopennlp-1032/org/apache/opennlp/opennlp-distr/2.1.1/
> > > The release was made from the Apache OpenNLP 2.1.1 tag at:
> > > https://github.com/apache/opennlp/tree/opennlp-2.1.1
> > > 
> > > To use it in a maven build set the version for opennlp-tools or
> > > opennlp-uima to 2.1.1 and add the following URL to your
> > > settings.xml
> > > file:
> > > https://repository.apache.org/content/repositories/orgapacheopennlp-1032
> > > 
> > > The release was made using the OpenNLP release process,
> > > documented on
> > > the
> > > website:
> > > https://opennlp.apache.org/release.html
> > > 
> > > Please vote on releasing these packages as Apache OpenNLP 2.1.1.
> > > The
> > > vote
> > > is open for at least the next 72 hours.
> > > 
> > > Only votes from OpenNLP PMC are binding, but everyone is welcome
> > > to
> > > check
> > > the release candidate and vote.
> > > The vote passes if at least three binding +1 votes are cast.
> > > 
> > > [ ] +1 Release the packages as Apache OpenNLP 2.1.1
> > > [ ] -1 Do not release the packages because...
> > > 
> > > Thanks!
> > > Jeff


Re: [VOTE] Apache OpenNLP 2.1.1 Release Candidate 2

Posted by Atita Arora <at...@gmail.com>.
Hi,

I ran :

mvn clean install -Peval-tests -X


Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537)

Maven home: /opt/homebrew/Cellar/maven/3.8.4/libexec

Java version: 17.0.5, vendor: Homebrew, runtime:
/opt/homebrew/Cellar/openjdk@17/17.0.5/libexec/openjdk.jdk/Contents/Home

Default locale: en_DE, platform encoding: US-ASCII

OS name: "mac os x", version: "13.1", arch: "aarch64", family: "mac"


[ERROR] Errors:

[ERROR]   ArvoresDeitadasEval.verifyTrainingData:82->getLineSample:76->AbstractEvalTest.getOpennlpDataDir:107
? NullPointer

[ERROR]   Conll00ChunkerEval.verifyTrainingData:78->AbstractEvalTest.getOpennlpDataDir:107
? NullPointer

[ERROR]   Conll02NameFinderEval.verifyTrainingData:88->AbstractEvalTest.getOpennlpDataDir:107
? NullPointer

[ERROR]   ConllXPosTaggerEval.verifyTrainingData:86->AbstractEvalTest.getOpennlpDataDir:107
? NullPointer

[ERROR]   OntoNotes4NameFinderEval.verifyTrainingData:89->AbstractEvalTest.getOpennlpDataDir:107
? NullPointer

[ERROR]   OntoNotes4ParserEval.verifyTrainingData:74->createParseSampleStream:48->AbstractEvalTest.getOpennlpDataDir:107
? NullPointer

[ERROR]   OntoNotes4PosTaggerEval.verifyTrainingData:71->createPOSSampleStream:45->AbstractEvalTest.getOpennlpDataDir:107
? NullPointer

[ERROR]   SourceForgeModelEval.verifyTrainingData:165->AbstractEvalTest.getOpennlpDataDir:107
? NullPointer

[ERROR]   UniversalDependency20Eval.verifyTrainingData:49->AbstractEvalTest.getOpennlpDataDir:107
? NullPointer

[INFO]

[ERROR] Tests run: 890, Failures: 0, Errors: 9, Skipped: 1


[INFO] Reactor Summary for Apache OpenNLP Reactor 2.1.1-SNAPSHOT:

[INFO]

[INFO] Apache OpenNLP Reactor ............................. SUCCESS [  3.579
s]

[INFO] Apache OpenNLP Tools ............................... FAILURE [
31.861 s]

[INFO] Apache OpenNLP UIMA Annotators ..................... SKIPPED

[INFO] Apache OpenNLP Brat Annotator ...................... SKIPPED

[INFO] Apache OpenNLP Morfologik Addon .................... SKIPPED

[INFO] Apache OpenNLP Documentation ....................... SKIPPED

[INFO] Apache OpenNLP Distribution ........................ SKIPPED

[INFO] Apache OpenNLP DL .................................. SKIPPED

[INFO]
------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO]
------------------------------------------------------------------------

[INFO] Total time:  35.510 s

[INFO] Finished at: 2023-02-17T12:46:11+01:00

Not sure if I did it wrong ?


On Thu, Feb 16, 2023 at 5:26 PM Richard Zowalla <rz...@apache.org> wrote:

> Hi folks,
>
> this vote needs some more attention :-)
>
> Gruß
> Richard
>
> Am Montag, dem 06.02.2023 um 11:28 -0500 schrieb Jeff Zemerick:
> > Hi folks,
> >
> > I have posted a 2nd release candidate for the Apache OpenNLP 2.1.1
> > release
> > and it is ready for testing.
> >
> > The distributables can be downloaded from:
> >
> https://repository.apache.org/content/repositories/orgapacheopennlp-1032/org/apache/opennlp/opennlp-distr/2.1.1/
> >
> > The release was made from the Apache OpenNLP 2.1.1 tag at:
> > https://github.com/apache/opennlp/tree/opennlp-2.1.1
> >
> > To use it in a maven build set the version for opennlp-tools or
> > opennlp-uima to 2.1.1 and add the following URL to your settings.xml
> > file:
> > https://repository.apache.org/content/repositories/orgapacheopennlp-1032
> >
> > The release was made using the OpenNLP release process, documented on
> > the
> > website:
> > https://opennlp.apache.org/release.html
> >
> > Please vote on releasing these packages as Apache OpenNLP 2.1.1. The
> > vote
> > is open for at least the next 72 hours.
> >
> > Only votes from OpenNLP PMC are binding, but everyone is welcome to
> > check
> > the release candidate and vote.
> > The vote passes if at least three binding +1 votes are cast.
> >
> > [ ] +1 Release the packages as Apache OpenNLP 2.1.1
> > [ ] -1 Do not release the packages because...
> >
> > Thanks!
> > Jeff
>
>

Re: [VOTE] Apache OpenNLP 2.1.1 Release Candidate 2

Posted by Richard Zowalla <rz...@apache.org>.
Hi folks,

this vote needs some more attention :-)

Gruß
Richard

Am Montag, dem 06.02.2023 um 11:28 -0500 schrieb Jeff Zemerick:
> Hi folks,
> 
> I have posted a 2nd release candidate for the Apache OpenNLP 2.1.1
> release
> and it is ready for testing.
> 
> The distributables can be downloaded from:
> https://repository.apache.org/content/repositories/orgapacheopennlp-1032/org/apache/opennlp/opennlp-distr/2.1.1/
> 
> The release was made from the Apache OpenNLP 2.1.1 tag at:
> https://github.com/apache/opennlp/tree/opennlp-2.1.1
> 
> To use it in a maven build set the version for opennlp-tools or
> opennlp-uima to 2.1.1 and add the following URL to your settings.xml
> file:
> https://repository.apache.org/content/repositories/orgapacheopennlp-1032
> 
> The release was made using the OpenNLP release process, documented on
> the
> website:
> https://opennlp.apache.org/release.html
> 
> Please vote on releasing these packages as Apache OpenNLP 2.1.1. The
> vote
> is open for at least the next 72 hours.
> 
> Only votes from OpenNLP PMC are binding, but everyone is welcome to
> check
> the release candidate and vote.
> The vote passes if at least three binding +1 votes are cast.
> 
> [ ] +1 Release the packages as Apache OpenNLP 2.1.1
> [ ] -1 Do not release the packages because...
> 
> Thanks!
> Jeff