You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by jk...@apache.org on 2014/03/22 04:26:57 UTC

svn commit: r1580140 - in /opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/maxent/io: OldFormatGISModelReader.java PooledGISModelReader.java SuffixSensitiveGISModelReader.java SuffixSensitiveGISModelWriter.java

Author: jkosin
Date: Sat Mar 22 03:26:57 2014
New Revision: 1580140

URL: http://svn.apache.org/r1580140
Log:
OPENNLP-669 Fixed lists <li> and replaced < and > with &lt; and &gt;.

Modified:
    opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/maxent/io/OldFormatGISModelReader.java
    opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/maxent/io/PooledGISModelReader.java
    opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/maxent/io/SuffixSensitiveGISModelReader.java
    opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/maxent/io/SuffixSensitiveGISModelWriter.java

Modified: opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/maxent/io/OldFormatGISModelReader.java
URL: http://svn.apache.org/viewvc/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/maxent/io/OldFormatGISModelReader.java?rev=1580140&r1=1580139&r2=1580140&view=diff
==============================================================================
--- opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/maxent/io/OldFormatGISModelReader.java (original)
+++ opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/maxent/io/OldFormatGISModelReader.java Sat Mar 22 03:26:57 2014
@@ -93,7 +93,7 @@ public class OldFormatGISModelReader ext
    * 
    * <p>
    * If the new_model_name is left unspecified, the new model will be saved in
-   * gzipped, binary format as "<model_name_prefix>.bin.gz".
+   * gzipped, binary format as "&lt;model_name_prefix&gt;.bin.gz".
    */
   public static void main(String[] args) throws IOException {
     if (args.length < 1) {

Modified: opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/maxent/io/PooledGISModelReader.java
URL: http://svn.apache.org/viewvc/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/maxent/io/PooledGISModelReader.java?rev=1580140&r1=1580139&r2=1580140&view=diff
==============================================================================
--- opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/maxent/io/PooledGISModelReader.java (original)
+++ opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/maxent/io/PooledGISModelReader.java Sat Mar 22 03:26:57 2014
@@ -35,9 +35,12 @@ public class PooledGISModelReader extend
    * appropriate GISModelReader depending on the filename's suffixes.
    *
    * <p>The following assumption are made about suffixes:
-   *    <li>.gz  --> the file is gzipped (must be the last suffix)
-   *    <li>.txt --> the file is plain text
-   *    <li>.bin --> the file is binary
+   * <ul>
+   *    <li>.gz  --&gt; the file is gzipped (must be the last suffix)</li>
+   *    <li>.txt --&gt; the file is plain text</li>
+   *    <li>.bin --&gt; the file is binary</li>
+   * </ul>
+   * 
    * @param f
    * @throws IOException
    */

Modified: opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/maxent/io/SuffixSensitiveGISModelReader.java
URL: http://svn.apache.org/viewvc/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/maxent/io/SuffixSensitiveGISModelReader.java?rev=1580140&r1=1580139&r2=1580140&view=diff
==============================================================================
--- opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/maxent/io/SuffixSensitiveGISModelReader.java (original)
+++ opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/maxent/io/SuffixSensitiveGISModelReader.java Sat Mar 22 03:26:57 2014
@@ -29,9 +29,11 @@ import opennlp.tools.ml.model.AbstractMo
  * appropriate GISModelReader depending on the filename's suffixes.
  *
  * <p>The following assumption are made about suffixes:
- *    <li>.gz  --> the file is gzipped (must be the last suffix)
- *    <li>.txt --> the file is plain text
- *    <li>.bin --> the file is binary
+ * <ul>
+ *    <li>.gz  --&gt; the file is gzipped (must be the last suffix)</li>
+ *    <li>.txt --&gt; the file is plain text</li>
+ *    <li>.bin --&gt; the file is binary</li>
+ * </ul>
  */
 public class SuffixSensitiveGISModelReader extends GISModelReader {
   protected GISModelReader suffixAppropriateReader;

Modified: opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/maxent/io/SuffixSensitiveGISModelWriter.java
URL: http://svn.apache.org/viewvc/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/maxent/io/SuffixSensitiveGISModelWriter.java?rev=1580140&r1=1580139&r2=1580140&view=diff
==============================================================================
--- opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/maxent/io/SuffixSensitiveGISModelWriter.java (original)
+++ opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/ml/maxent/io/SuffixSensitiveGISModelWriter.java Sat Mar 22 03:26:57 2014
@@ -35,9 +35,11 @@ import opennlp.tools.ml.model.AbstractMo
  * appropriate GISModelWriter depending on the filename's suffixes.
  *
  * <p>The following assumption are made about suffixes:
- *    <li>.gz  --> the file is gzipped (must be the last suffix)
- *    <li>.txt --> the file is plain text
- *    <li>.bin --> the file is binary
+ * <ul>
+ *    <li>.gz  --&gt; the file is gzipped (must be the last suffix)</li>
+ *    <li>.txt --&gt; the file is plain text</li>
+ *    <li>.bin --&gt; the file is binary</li>
+ * </ul>
  */
 public class SuffixSensitiveGISModelWriter extends GISModelWriter {
   private final GISModelWriter suffixAppropriateWriter;