You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by rz...@apache.org on 2025/05/26 18:24:05 UTC
(opennlp-sandbox) branch debug_ubuntu created (now 1bc3361)
This is an automated email from the ASF dual-hosted git repository.
rzo1 pushed a change to branch debug_ubuntu
in repository https://gitbox.apache.org/repos/asf/opennlp-sandbox.git
at 1bc3361 get output from failing test
This branch includes the following new commits:
new 1bc3361 get output from failing test
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(opennlp-sandbox) 01/01: get output from failing test
Posted by rz...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rzo1 pushed a commit to branch debug_ubuntu
in repository https://gitbox.apache.org/repos/asf/opennlp-sandbox.git
commit 1bc33611cbe4618cc6f36d7c1a08e386f98e58ae
Author: Richard Zowalla <rz...@apache.org>
AuthorDate: Mon May 26 20:23:55 2025 +0200
get output from failing test
---
.../test/java/opennlp/tools/disambiguator/WSDisambiguatorMETest.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/opennlp-wsd/src/test/java/opennlp/tools/disambiguator/WSDisambiguatorMETest.java b/opennlp-wsd/src/test/java/opennlp/tools/disambiguator/WSDisambiguatorMETest.java
index 84b54f9..0620996 100644
--- a/opennlp-wsd/src/test/java/opennlp/tools/disambiguator/WSDisambiguatorMETest.java
+++ b/opennlp-wsd/src/test/java/opennlp/tools/disambiguator/WSDisambiguatorMETest.java
@@ -22,6 +22,7 @@ package opennlp.tools.disambiguator;
import java.io.File;
import java.io.IOException;
import java.nio.file.Path;
+import java.util.Arrays;
import java.util.List;
import org.junit.jupiter.api.BeforeAll;
@@ -105,6 +106,9 @@ class WSDisambiguatorMETest extends AbstractDisambiguatorTest {
*/
@Test
void testDisambiguateOneWord() {
+ System.out.println(Arrays.toString(sentence1));
+ System.out.println(Arrays.toString(tags1));
+ System.out.println(Arrays.toString(lemmas1));
String sense = wsdME.disambiguate(sentence1, tags1, lemmas1, 8);
assertEquals("WORDNET please%4:02:00::", sense, "Check 'please' sense ID");
}