opennlp-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jko...@apache.org
Subject svn commit: r1581631 - /opennlp/trunk/opennlp-uima/src/main/java/opennlp/uima/namefind/NameFinderTrainer.java
Date Wed, 26 Mar 2014 02:24:56 GMT
Author: jkosin
Date: Wed Mar 26 02:24:55 2014
New Revision: 1581631

URL: http://svn.apache.org/r1581631
Log:
OPENNLP-669 and OPENNLP-580 Fixed usage of loadResources() in UMIA as part of Java 8 issues.
 Java 7 doesn't complain about the missing resource... not sure why.

Modified:
    opennlp/trunk/opennlp-uima/src/main/java/opennlp/uima/namefind/NameFinderTrainer.java

Modified: opennlp/trunk/opennlp-uima/src/main/java/opennlp/uima/namefind/NameFinderTrainer.java
URL: http://svn.apache.org/viewvc/opennlp/trunk/opennlp-uima/src/main/java/opennlp/uima/namefind/NameFinderTrainer.java?rev=1581631&r1=1581630&r2=1581631&view=diff
==============================================================================
--- opennlp/trunk/opennlp-uima/src/main/java/opennlp/uima/namefind/NameFinderTrainer.java
(original)
+++ opennlp/trunk/opennlp-uima/src/main/java/opennlp/uima/namefind/NameFinderTrainer.java
Wed Mar 26 02:24:55 2014
@@ -393,7 +393,7 @@ public final class NameFinderTrainer ext
       Map<String, Object> resourceMap;
       
       if (featureGeneratorResourceDir != null) {
-        resourceMap = TokenNameFinderTrainerTool.loadResources(featureGeneratorResourceDir);
+        resourceMap = TokenNameFinderTrainerTool.loadResources(featureGeneratorResourceDir,
null);
       }
       else {
         resourceMap = Collections.emptyMap();



Mime
View raw message