Author: joern
Date: Tue Oct 14 19:41:08 2014
New Revision: 1631854
URL: http://svn.apache.org/r1631854
Log:
OPENNLP-720 Fixed javadoc error
Modified:
opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/formats/EvalitaNameSampleStream.java
opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/formats/NameFinderCensus90NameStream.java
opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/formats/brat/BratDocumentStream.java
opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/maxent/quasinewton/QNMinimizer.java
Modified:
opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/formats/EvalitaNameSampleStream.java
URL:
http://svn.apache.org/viewvc/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/formats/EvalitaNameSampleStream.java?rev=1631854&r1=1631853&r2=1631854&view=diff
==============================================================================
---
opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/formats/EvalitaNameSampleStream.java
(original)
+++
opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/formats/EvalitaNameSampleStream.java
Tue Oct 14 19:41:08 2014
@@ -93,8 +93,9 @@ public class EvalitaNameSampleStream imp
}
/**
- * @param lang
+ * @param lang the language of the Evalita data file
* @param in an Input Stream to read data.
+ * @param types the types of the entities which are included in the Name
Sample stream
*/
@Deprecated
public EvalitaNameSampleStream(LANGUAGE lang, InputStream in, int types) {
Modified:
opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/formats/NameFinderCensus90NameStream.java
URL:
http://svn.apache.org/viewvc/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/formats/NameFinderCensus90NameStream.java?rev=1631854&r1=1631853&r2=1631854&view=diff
==============================================================================
---
opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/formats/NameFinderCensus90NameStream.java
(original)
+++
opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/formats/NameFinderCensus90NameStream.java
Tue Oct 14 19:41:08 2014
@@ -31,7 +31,6 @@ import opennlp.tools.util.StringUtil;
* The entries in the source file are as follows:
* <p>
* SMITH 1.006 1.006 1
- * <p>
* <ul>
* <li>The first field is the name (in ALL CAPS).
* <li>The next field is a frequency in percent.
Modified:
opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/formats/brat/BratDocumentStream.java
URL:
http://svn.apache.org/viewvc/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/formats/brat/BratDocumentStream.java?rev=1631854&r1=1631853&r2=1631854&view=diff
==============================================================================
---
opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/formats/brat/BratDocumentStream.java
(original)
+++
opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/formats/brat/BratDocumentStream.java
Tue Oct 14 19:41:08 2014
@@ -39,10 +39,13 @@ public class BratDocumentStream implemen
/**
* Creates a BratDocumentStream which reads the documents from the given
input directory.
*
+ * @param config the annotation.conf from the brat project as an Annotation
Configuration object
* @param bratCorpusDirectory the directory containing all the brat training
data files
* @param searchRecursive specifies if the corpus directory should be
traversed recursively
* to find training data files.
* @param fileFilter a custom file filter to filter out certain files or
null to accept all files
+ *
+ * @throws IOException if reading from the brat directory fails in anyway
*/
public BratDocumentStream(AnnotationConfiguration config, File
bratCorpusDirectory,
boolean searchRecursive, FileFilter fileFilter) throws IOException {
Modified:
opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/maxent/quasinewton/QNMinimizer.java
URL:
http://svn.apache.org/viewvc/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/maxent/quasinewton/QNMinimizer.java?rev=1631854&r1=1631853&r2=1631854&view=diff
==============================================================================
---
opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/maxent/quasinewton/QNMinimizer.java
(original)
+++
opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/maxent/quasinewton/QNMinimizer.java
Tue Oct 14 19:41:08 2014
@@ -49,7 +49,7 @@ import opennlp.tools.ml.maxent.quasinewt
* QNMinimizer minimizer = new QNMinimizer();
* double[] x = minimizer.minimize(f);
* double min = f.valueAt(x);
- * <pre></blockquote>
+ * </pre></blockquote>
*/
public class QNMinimizer {