You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@opennlp.apache.org by GitBox <gi...@apache.org> on 2022/12/23 19:30:38 UTC

[GitHub] [opennlp] mawiesne commented on a diff in pull request #468: OPENNLP-1422 Enhance JavaDoc in opennlp.tools.formats sub-packages

mawiesne commented on code in PR #468:
URL: https://github.com/apache/opennlp/pull/468#discussion_r1056619702


##########
opennlp-tools/src/main/java/opennlp/tools/formats/BioNLP2004NameSampleStream.java:
##########
@@ -32,15 +32,25 @@
 import opennlp.tools.util.StringUtil;
 
 /**
- * Parser for the training files of the BioNLP/NLPBA 2004 shared task.
+ * A {@link ObjectStream sample stream} for the training files of the
+ * BioNLP/NLPBA 2004 shared task.
  * <p>
- * The data contains five named entity types: DNA, RNA, protein, cell_type and cell_line.<br>
+ * The data contains five named entity types:
+ * <ul>
+ *   <li>{@code DNA}</li>
+ *   <li>{@code RNA}</li>
+ *   <li>{@code protein}</li>
+ *   <li>{@code cell_type}</li>
+ *   <li>{@code cell_line}</li>
+ * </ul>.
  * <p>
- * Data can be found on this web site:<br>
- * http://www-tsujii.is.s.u-tokyo.ac.jp/GENIA/ERtask/report.html
+ * Data can be found on
+ * <a href="http://www-tsujii.is.s.u-tokyo.ac.jp/GENIA/ERtask/report.html">this website</a>

Review Comment:
   Alternatives?



##########
opennlp-tools/src/main/java/opennlp/tools/formats/irishsentencebank/IrishSentenceBankDocument.java:
##########
@@ -45,7 +45,7 @@
  * of tokenized sentences.
  * <p>
  * The sentence bank can be downloaded from, and is described
- * <a href="http://www.lexiconista.com/datasets/sentencebank-ga/">here</a>
+ * <a href="http://www.lexiconista.com/datasets/sentencebank-ga/">here</a>.

Review Comment:
   Alternatives?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@opennlp.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org