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/23 05:27:08 UTC
svn commit: r1580442 -
/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/util/featuregen/GeneratorFactory.java
Author: jkosin
Date: Sun Mar 23 04:27:08 2014
New Revision: 1580442
URL: http://svn.apache.org/r1580442
Log:
OPENNLP-669 Replaced < and > with < and > to generate the example XML format. Need to make it look better now....
Modified:
opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/util/featuregen/GeneratorFactory.java
Modified: opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/util/featuregen/GeneratorFactory.java
URL: http://svn.apache.org/viewvc/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/util/featuregen/GeneratorFactory.java?rev=1580442&r1=1580441&r2=1580442&view=diff
==============================================================================
--- opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/util/featuregen/GeneratorFactory.java (original)
+++ opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/util/featuregen/GeneratorFactory.java Sun Mar 23 04:27:08 2014
@@ -50,21 +50,22 @@ import org.xml.sax.SAXException;
* Creates a set of feature generators based on a provided XML descriptor.
*
* Example of an XML descriptor:
- *
- * <generators>
- * <charngram min = "2" max = "5"/>
- * <definition/>
- * <cache>
- * <window prevLength = "3" nextLength = "3">
- * <generators>
- * <prevmap/>
- * <sentence/>
- * <tokenclass/>
- * <tokenpattern/>
- * </generators>
- * </window>
- * </cache>
- * </generators>
+ *<p>
+ * <generators>
+ * <charngram min = "2" max = "5"/>
+ * <definition/>
+ * <cache>
+ * <window prevLength = "3" nextLength = "3">
+ * <generators>
+ * <prevmap/>
+ * <sentence/>
+ * <tokenclass/>
+ * <tokenpattern/>
+ * </generators>
+ * </window>
+ * </cache>
+ * </generators>
+ * </p>
*
* Each XML element is mapped to a {@link GeneratorFactory.XmlFeatureGeneratorFactory} which
* is responsible to process the element and create the specified