You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by co...@apache.org on 2012/02/13 17:58:20 UTC

svn commit: r1243610 - /incubator/opennlp/trunk/opennlp-tools/src/test/java/opennlp/tools/postag/POSTaggerFactoryTest.java

Author: colen
Date: Mon Feb 13 16:58:20 2012
New Revision: 1243610

URL: http://svn.apache.org/viewvc?rev=1243610&view=rev
Log:
OPENNLP-429: fix compilation error: should train POSModel using a dictionary and tag dictionary

Modified:
    incubator/opennlp/trunk/opennlp-tools/src/test/java/opennlp/tools/postag/POSTaggerFactoryTest.java

Modified: incubator/opennlp/trunk/opennlp-tools/src/test/java/opennlp/tools/postag/POSTaggerFactoryTest.java
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-tools/src/test/java/opennlp/tools/postag/POSTaggerFactoryTest.java?rev=1243610&r1=1243609&r2=1243610&view=diff
==============================================================================
--- incubator/opennlp/trunk/opennlp-tools/src/test/java/opennlp/tools/postag/POSTaggerFactoryTest.java (original)
+++ incubator/opennlp/trunk/opennlp-tools/src/test/java/opennlp/tools/postag/POSTaggerFactoryTest.java Mon Feb 13 16:58:20 2012
@@ -51,7 +51,7 @@ public class POSTaggerFactoryTest {
   static POSModel trainPOSModel(ModelType type, POSTaggerFactory factory)
       throws IOException {
     return POSTaggerME.train("en", createSampleStream(),
-        TrainingParameters.defaultParams(), factory);
+        TrainingParameters.defaultParams(), factory, null, null);
   }
 
   @Test