You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by jo...@apache.org on 2013/05/17 14:47:43 UTC
svn commit: r1483775 -
/opennlp/trunk/opennlp-uima/src/main/java/opennlp/uima/namefind/AbstractNameFinder.java
Author: joern
Date: Fri May 17 12:47:43 2013
New Revision: 1483775
URL: http://svn.apache.org/r1483775
Log:
OPENNLP-576 initialize now calls super.initialize.
Modified:
opennlp/trunk/opennlp-uima/src/main/java/opennlp/uima/namefind/AbstractNameFinder.java
Modified: opennlp/trunk/opennlp-uima/src/main/java/opennlp/uima/namefind/AbstractNameFinder.java
URL: http://svn.apache.org/viewvc/opennlp/trunk/opennlp-uima/src/main/java/opennlp/uima/namefind/AbstractNameFinder.java?rev=1483775&r1=1483774&r2=1483775&view=diff
==============================================================================
--- opennlp/trunk/opennlp-uima/src/main/java/opennlp/uima/namefind/AbstractNameFinder.java (original)
+++ opennlp/trunk/opennlp-uima/src/main/java/opennlp/uima/namefind/AbstractNameFinder.java Fri May 17 12:47:43 2013
@@ -61,23 +61,25 @@ abstract class AbstractNameFinder extend
}
public final void initialize(UimaContext context) throws ResourceInitializationException {
-
+
+ super.initialize(context);
+
this.context = context;
-
+
mLogger = context.getLogger();
-
+
if (mLogger.isLoggable(Level.INFO)) {
mLogger.log(Level.INFO,
"Initializing the " + name + ".");
}
-
+
isRemoveExistingAnnotations = AnnotatorUtil.getOptionalBooleanParameter(
context, UimaUtil.IS_REMOVE_EXISTINGS_ANNOTAIONS);
if (isRemoveExistingAnnotations == null) {
isRemoveExistingAnnotations = false;
}
-
+
initialize();
}
@@ -173,4 +175,4 @@ abstract class AbstractNameFinder extend
documentDone(cas);
}
-}
\ No newline at end of file
+}