[
https://issues.apache.org/jira/browse/OPENNLP-1432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17653577#comment-17653577
]
ASF GitHub Bot commented on OPENNLP-1432:
-----------------------------------------
rzo1 commented on code in PR #478:
URL: https://github.com/apache/opennlp/pull/478#discussion_r1059970731
##########
opennlp-tools/src/test/java/opennlp/tools/util/wordvector/GloveTest.java:
##########
@@ -0,0 +1,65 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package opennlp.tools.util.wordvector;
+
+import java.io.IOException;
+import java.io.InputStream;
+
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Test;
+
+
+/*
+ * Note:
+ * Examples taken from the 'glove.6B.50d.txt' data set,
+ * which is licensed under CC0 1.0 Universal (CC0 1.0) Public Domain
Dedication.
+ * (see: https://creativecommons.org/publicdomain/zero/1.0/)
Review Comment:
Some more information:
https://www.apache.org/legal/resolved.html#handling-public-domain-licensed-works
However, I don't think, that it needs an entry in NOTICE.
> Provide tests for opennlp.tools.util.wordvector package
> -------------------------------------------------------
>
> Key: OPENNLP-1432
> URL: https://issues.apache.org/jira/browse/OPENNLP-1432
> Project: OpenNLP
> Issue Type: Test
> Components: Build, Packaging and Test, word vectors
> Affects Versions: 2.1.0
> Reporter: Martin Wiesner
> Assignee: Martin Wiesner
> Priority: Minor
> Fix For: 2.1.1
>
>
> With OPENNLP-1144, support for word vectors was introduced. However, no JUnit
> tests were provided with that implementation.
> Aims
> * Provide tests for _opennlp.tools.util.wordvector_ package
> * Raise code coverage for the corresponding package
> * Improve JavaDoc along the way
--
This message was sent by Atlassian Jira
(v8.20.10#820010)