You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by rw...@apache.org on 2015/07/16 09:24:52 UTC

svn commit: r1691323 - in /stanbol/branches/release-0.12: commons/ commons/ixa-pipe-nerc/ commons/ixa-pipe-nerc/src/ commons/ixa-pipe-nerc/src/main/ commons/ixa-pipe-nerc/src/main/java/ commons/ixa-pipe-nerc/src/main/java/org/ commons/ixa-pipe-nerc/src...

Author: rwesten
Date: Thu Jul 16 07:24:51 2015
New Revision: 1691323

URL: http://svn.apache.org/r1691323
Log:
STANBOL-1423: updated to OpenNLP 1.6.0; merged STANBOL-1422 from trunk to 0.12.1 so that one can also use the IXA Pipes NERC models with Stanbol 0.12.1

Added:
    stanbol/branches/release-0.12/commons/ixa-pipe-nerc/
    stanbol/branches/release-0.12/commons/ixa-pipe-nerc/pom.xml
    stanbol/branches/release-0.12/commons/ixa-pipe-nerc/src/
    stanbol/branches/release-0.12/commons/ixa-pipe-nerc/src/main/
    stanbol/branches/release-0.12/commons/ixa-pipe-nerc/src/main/java/
    stanbol/branches/release-0.12/commons/ixa-pipe-nerc/src/main/java/org/
    stanbol/branches/release-0.12/commons/ixa-pipe-nerc/src/main/java/org/apache/
    stanbol/branches/release-0.12/commons/ixa-pipe-nerc/src/main/java/org/apache/stanbol/
    stanbol/branches/release-0.12/commons/ixa-pipe-nerc/src/main/java/org/apache/stanbol/commons/
    stanbol/branches/release-0.12/commons/ixa-pipe-nerc/src/main/java/org/apache/stanbol/commons/ixa/
    stanbol/branches/release-0.12/commons/ixa-pipe-nerc/src/main/java/org/apache/stanbol/commons/ixa/pipe/
    stanbol/branches/release-0.12/commons/ixa-pipe-nerc/src/main/java/org/apache/stanbol/commons/ixa/pipe/nerc/
    stanbol/branches/release-0.12/commons/ixa-pipe-nerc/src/main/java/org/apache/stanbol/commons/ixa/pipe/nerc/Activator.java
Modified:
    stanbol/branches/release-0.12/commons/pom.xml
    stanbol/branches/release-0.12/launchers/bundlelists/stanbolcommons/src/main/bundles/list.xml
    stanbol/branches/release-0.12/parent/pom.xml

Added: stanbol/branches/release-0.12/commons/ixa-pipe-nerc/pom.xml
URL: http://svn.apache.org/viewvc/stanbol/branches/release-0.12/commons/ixa-pipe-nerc/pom.xml?rev=1691323&view=auto
==============================================================================
--- stanbol/branches/release-0.12/commons/ixa-pipe-nerc/pom.xml (added)
+++ stanbol/branches/release-0.12/commons/ixa-pipe-nerc/pom.xml Thu Jul 16 07:24:51 2015
@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.stanbol</groupId>
+    <artifactId>stanbol-parent</artifactId>
+    <version>6-SNAPSHOT</version>
+    <relativePath>../../parent</relativePath>
+  </parent>
+
+  <artifactId>org.apache.stanbol.commons.ixa-pipe-nerc</artifactId>
+  <version>0.12.1-SNAPSHOT</version>
+  <packaging>bundle</packaging>
+
+  <name>Apache Stanbol Commons: IXA pipe nerc extensions for OpenNLP</name>
+  <description>
+    Provides extensions to OpenNLP needed to use the OpenNLP models
+    provided by the IXA pipe nerc module.
+  </description>
+
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <ixa-pipe-nerc-version>1.5.2</ixa-pipe-nerc-version>
+  </properties>
+
+  <build>
+    <!-- make it an OSGi bundle -->
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-scr-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <extensions>true</extensions>
+        <configuration>
+          <instructions>
+            <Bundle-Activator>org.apache.stanbol.commons.ixa.pipe.nerc.Activator</Bundle-Activator>
+            <!-- we can ignore some imports as those are only used for training -->
+            <Import-Package>
+              !net.sourceforge.argparse4j*,
+              ixa.kaflib;resolution:=optional,
+              com.google.common.*;version="[13,99)",
+              org.jdom2*;version="[2,3)";resolution:=optional,
+              opennlp.tools.cmdline*;resolution:=optional,
+              *
+            </Import-Package>
+            <Export-Package>
+              eus.ixa.ixa.pipe.nerc.*;version=${ixa-pipe-nerc-version}
+            </Export-Package>
+            <Private-Package>
+              org.apache.stanbol.commons.ixa.pipe.nerc.*;version=${project.version}
+            </Private-Package>
+          </instructions>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.sling</groupId>
+        <artifactId>maven-sling-plugin</artifactId>
+      </plugin>
+
+    </plugins>
+  </build>
+
+  <dependencies>
+    <!-- obviously we need opennlp -->
+    <dependency>
+      <groupId>org.apache.opennlp</groupId>
+      <artifactId>opennlp-maxent</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.opennlp</groupId>
+      <artifactId>opennlp-tools</artifactId>
+    </dependency>
+    <!-- and the ixa nerc -->
+    <dependency>
+      <groupId>eus.ixa</groupId>
+      <artifactId>ixa-pipe-nerc</artifactId>
+      <version>${ixa-pipe-nerc-version}</version>
+      <scope>provided</scope> <!-- class files will be embedded in the bundle -->
+    </dependency>
+    <dependency>
+      <groupId>com.google.guava</groupId>
+      <artifactId>guava</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.jdom</groupId>
+      <artifactId>jdom2</artifactId>
+      <version>2.0.6</version>
+    </dependency>
+    <!-- OSGI dependencies -->
+    <dependency>
+      <groupId>org.osgi</groupId>
+      <artifactId>org.osgi.core</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.osgi</groupId>
+      <artifactId>org.osgi.compendium</artifactId>
+    </dependency>
+    
+    <dependency>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.apache.felix.scr.annotations</artifactId>
+      <scope>provided</scope> <!-- build only dependency -->
+    </dependency>
+  </dependencies>
+</project>

Added: stanbol/branches/release-0.12/commons/ixa-pipe-nerc/src/main/java/org/apache/stanbol/commons/ixa/pipe/nerc/Activator.java
URL: http://svn.apache.org/viewvc/stanbol/branches/release-0.12/commons/ixa-pipe-nerc/src/main/java/org/apache/stanbol/commons/ixa/pipe/nerc/Activator.java?rev=1691323&view=auto
==============================================================================
--- stanbol/branches/release-0.12/commons/ixa-pipe-nerc/src/main/java/org/apache/stanbol/commons/ixa/pipe/nerc/Activator.java (added)
+++ stanbol/branches/release-0.12/commons/ixa-pipe-nerc/src/main/java/org/apache/stanbol/commons/ixa/pipe/nerc/Activator.java Thu Jul 16 07:24:51 2015
@@ -0,0 +1,306 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.stanbol.commons.ixa.pipe.nerc;
+
+import java.util.Dictionary;
+import java.util.HashSet;
+import java.util.Hashtable;
+import java.util.Set;
+
+import opennlp.tools.util.featuregen.AdaptiveFeatureGenerator;
+import opennlp.tools.util.model.ArtifactSerializer;
+
+import org.osgi.framework.BundleActivator;
+import org.osgi.framework.BundleContext;
+import org.osgi.framework.ServiceRegistration;
+
+import eus.ixa.ixa.pipe.nerc.dict.BrownCluster.BrownClusterSerializer;
+import eus.ixa.ixa.pipe.nerc.dict.ClarkCluster.ClarkClusterSerializer;
+import eus.ixa.ixa.pipe.nerc.dict.Dictionary.DictionarySerializer;
+import eus.ixa.ixa.pipe.nerc.dict.LemmaResource.LemmaResourceSerializer;
+import eus.ixa.ixa.pipe.nerc.dict.MFSResource.MFSResourceSerializer;
+import eus.ixa.ixa.pipe.nerc.dict.POSModelResource.POSModelResourceSerializer;
+import eus.ixa.ixa.pipe.nerc.dict.Word2VecCluster.Word2VecClusterSerializer;
+import eus.ixa.ixa.pipe.nerc.features.BigramClassFeatureGenerator;
+import eus.ixa.ixa.pipe.nerc.features.BrownBigramFeatureGenerator;
+import eus.ixa.ixa.pipe.nerc.features.BrownTokenClassFeatureGenerator;
+import eus.ixa.ixa.pipe.nerc.features.BrownTokenFeatureGenerator;
+import eus.ixa.ixa.pipe.nerc.features.BrownTrigramFeatureGenerator;
+import eus.ixa.ixa.pipe.nerc.features.CharacterNgramFeatureGenerator;
+import eus.ixa.ixa.pipe.nerc.features.ClarkFeatureGenerator;
+import eus.ixa.ixa.pipe.nerc.features.DictionaryFeatureGenerator;
+import eus.ixa.ixa.pipe.nerc.features.FivegramClassFeatureGenerator;
+import eus.ixa.ixa.pipe.nerc.features.FourgramClassFeatureGenerator;
+import eus.ixa.ixa.pipe.nerc.features.MFSFeatureGenerator;
+import eus.ixa.ixa.pipe.nerc.features.MorphoFeatureGenerator;
+import eus.ixa.ixa.pipe.nerc.features.OutcomePriorFeatureGenerator;
+import eus.ixa.ixa.pipe.nerc.features.Prefix34FeatureGenerator;
+import eus.ixa.ixa.pipe.nerc.features.Prev2MapFeatureGenerator;
+import eus.ixa.ixa.pipe.nerc.features.PreviousMapFeatureGenerator;
+import eus.ixa.ixa.pipe.nerc.features.PreviousMapTokenFeatureGenerator;
+import eus.ixa.ixa.pipe.nerc.features.SentenceFeatureGenerator;
+import eus.ixa.ixa.pipe.nerc.features.SuffixFeatureGenerator;
+import eus.ixa.ixa.pipe.nerc.features.SuperSenseFeatureGenerator;
+import eus.ixa.ixa.pipe.nerc.features.TokenClassFeatureGenerator;
+import eus.ixa.ixa.pipe.nerc.features.TokenFeatureGenerator;
+import eus.ixa.ixa.pipe.nerc.features.TrigramClassFeatureGenerator;
+import eus.ixa.ixa.pipe.nerc.features.WindowFeatureGenerator;
+import eus.ixa.ixa.pipe.nerc.features.Word2VecClusterFeatureGenerator;
+import eus.ixa.ixa.pipe.nerc.features.WordShapeSuperSenseFeatureGenerator;
+
+/**
+ * This registers ixa extensions to OpenNLP as OSGI services so that OpenNLP
+ * can also find them when running within an OSGI environment.
+ *
+ * OpenNLP expects extensions to be registered as OSGI services wiht the 
+ * <code>opennlp</code> property set to the classname of the serice.
+ *
+ * This Bundle Activator manually registers the OpenNLP extensions provided
+ * by the IXA NEC module as expected by OpenNLP
+ *
+ *
+ *
+ * @author Rupert Westenthaler
+ *
+ */
+public class Activator implements BundleActivator{
+
+    private final Set<ServiceRegistration<?>> registeredServices = new HashSet<ServiceRegistration<?>>();
+    
+    @Override
+    public void start(BundleContext context) throws Exception {
+        Dictionary<String,Object> prop = new Hashtable<String,Object>();
+        //(A) ArtifactSerializer
+        //(1) Word2VecCluster
+        //OpenNLP expects extensions to have their class name as value of the
+        //"opennlp" property.
+        prop.put("opennlp", Word2VecClusterSerializer.class.getName());
+        registeredServices.add(context.registerService(
+                ArtifactSerializer.class.getName(), 
+                new Word2VecClusterSerializer(), 
+                prop));
+        //(2) ClarkClusterSerializer
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", ClarkClusterSerializer.class.getName());
+        registeredServices.add(context.registerService(
+                ArtifactSerializer.class.getName(), 
+                new ClarkClusterSerializer(), 
+                prop));
+        //(3) ClarkClusterSerializer
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", BrownClusterSerializer.class.getName());
+        registeredServices.add(context.registerService(
+                ArtifactSerializer.class.getName(), 
+                new BrownClusterSerializer(), 
+                prop));
+        //(4) POSModelResourceSerializer
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", POSModelResourceSerializer.class.getName());
+        registeredServices.add(context.registerService(
+                ArtifactSerializer.class.getName(), 
+                new POSModelResourceSerializer(), 
+                prop));
+        //(5) MFSResourceSerializer
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", MFSResourceSerializer.class.getName());
+        registeredServices.add(context.registerService(
+                ArtifactSerializer.class.getName(), 
+                new MFSResourceSerializer(), 
+                prop));
+        //(6) LemmaResourceSerializer
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", LemmaResourceSerializer.class.getName());
+        registeredServices.add(context.registerService(
+                ArtifactSerializer.class.getName(), 
+                new LemmaResourceSerializer(), 
+                prop));
+        //(7) DictionarySerializer
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", DictionarySerializer.class.getName());
+        registeredServices.add(context.registerService(
+                ArtifactSerializer.class.getName(), 
+                new DictionarySerializer(), 
+                prop));
+        
+        //(B) AdaptiveFeatureGenerator
+        //(1) BigramClassFeatureGenerator
+        String[] services = new String[]{AdaptiveFeatureGenerator.class.getName()};
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", BigramClassFeatureGenerator.class.getName());
+        registeredServices.add(context.registerService(services, 
+                new BigramClassFeatureGenerator(), 
+                prop));
+        //(2) BrownBigramFeatureGenerator
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", BrownBigramFeatureGenerator.class.getName());
+        registeredServices.add(context.registerService(services, 
+                new BrownBigramFeatureGenerator(), 
+                prop));
+        //(3) BrownTokenClassFeatureGenerator
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", BrownTokenClassFeatureGenerator.class.getName());
+        registeredServices.add(context.registerService(services, 
+                new BrownTokenClassFeatureGenerator(), 
+                prop));
+        //(4) BrownTokenFeatureGenerator
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", BrownTokenFeatureGenerator.class.getName());
+        registeredServices.add(context.registerService(services, 
+                new BrownTokenFeatureGenerator(), 
+                prop));
+        //(5) BrownTrigramFeatureGenerator
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", BrownTrigramFeatureGenerator.class.getName());
+        registeredServices.add(context.registerService(services, 
+                new BrownTrigramFeatureGenerator(), 
+                prop));
+        //(6) CharacterNgramFeatureGenerator
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", CharacterNgramFeatureGenerator.class.getName());
+        registeredServices.add(context.registerService(services, 
+                new CharacterNgramFeatureGenerator(), 
+                prop));
+        //(7) ClarkFeatureGenerator 
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", ClarkFeatureGenerator.class.getName());
+        registeredServices.add(context.registerService(services, 
+                new ClarkFeatureGenerator(), 
+                prop));
+        //(8) DictionaryFeatureGenerator 
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", DictionaryFeatureGenerator.class.getName());
+        registeredServices.add(context.registerService(services, 
+                new DictionaryFeatureGenerator(), 
+                prop));
+        //(9) FivegramClassFeatureGenerator 
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", FivegramClassFeatureGenerator.class.getName());
+        registeredServices.add(context.registerService(services, 
+                new FivegramClassFeatureGenerator(), 
+                prop));
+        //(10) FourgramClassFeatureGenerator 
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", FourgramClassFeatureGenerator.class.getName());
+        registeredServices.add(context.registerService(services, 
+                new FourgramClassFeatureGenerator(), 
+                prop));
+        //(11) MFSFeatureGenerator
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", MFSFeatureGenerator.class.getName());
+        registeredServices.add(context.registerService(services, 
+                new MFSFeatureGenerator(), 
+                prop));
+        //(12) MorphoFeatureGenerator 
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", MorphoFeatureGenerator.class.getName());
+        registeredServices.add(context.registerService(services, 
+                new MorphoFeatureGenerator(), 
+                prop));
+        //(13) OutcomePriorFeatureGenerator 
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", OutcomePriorFeatureGenerator.class.getName());
+        registeredServices.add(context.registerService(services, 
+                new OutcomePriorFeatureGenerator(), 
+                prop));
+        //(14) Prefix34FeatureGenerator
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", Prefix34FeatureGenerator.class.getName());
+        registeredServices.add(context.registerService(services, 
+                new Prefix34FeatureGenerator(), 
+                prop));
+        //(15) Prev2MapFeatureGenerator 
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", Prev2MapFeatureGenerator.class.getName());
+        registeredServices.add(context.registerService(services, 
+                new Prev2MapFeatureGenerator(), 
+                prop));
+        //(16) PreviousMapFeatureGenerator
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", PreviousMapFeatureGenerator.class.getName());
+        registeredServices.add(context.registerService(services, 
+                new PreviousMapFeatureGenerator(), 
+                prop));
+        //(17) PreviousMapTokenFeatureGenerator 
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", PreviousMapTokenFeatureGenerator.class.getName());
+        registeredServices.add(context.registerService(services, 
+                new PreviousMapTokenFeatureGenerator(), 
+                prop));
+        //(18) SentenceFeatureGenerator 
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", SentenceFeatureGenerator.class.getName());
+        registeredServices.add(context.registerService(services, 
+                new SentenceFeatureGenerator(), 
+                prop));
+        //(19) SuffixFeatureGenerator 
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", SuffixFeatureGenerator.class.getName());
+        registeredServices.add(context.registerService(services, 
+                new SuffixFeatureGenerator(), 
+                prop));
+        //(20) SuperSenseFeatureGenerator 
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", SuperSenseFeatureGenerator.class.getName());
+        registeredServices.add(context.registerService(services, 
+                new SuperSenseFeatureGenerator(), 
+                prop));
+        //(21) TokenClassFeatureGenerator 
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", TokenClassFeatureGenerator.class.getName());
+        registeredServices.add(context.registerService(services, 
+                new TokenClassFeatureGenerator(), 
+                prop));
+        //(22) TokenFeatureGenerator 
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", TokenFeatureGenerator.class.getName());
+        registeredServices.add(context.registerService(services, 
+                new TokenFeatureGenerator(), 
+                prop));
+        //(23) TrigramClassFeatureGenerator
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", TrigramClassFeatureGenerator.class.getName());
+        registeredServices.add(context.registerService(services, 
+                new TrigramClassFeatureGenerator(), 
+                prop));
+        //(24) WindowFeatureGenerator 
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", WindowFeatureGenerator.class.getName());
+        registeredServices.add(context.registerService(services, 
+                new WindowFeatureGenerator(), 
+                prop));
+        //(25) Word2VecClusterFeatureGenerator 
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", Word2VecClusterFeatureGenerator.class.getName());
+        registeredServices.add(context.registerService(services, 
+                new Word2VecClusterFeatureGenerator(), 
+                prop));
+        //(26) WordShapeSuperSenseFeatureGenerator 
+        prop = new Hashtable<String,Object>();
+        prop.put("opennlp", WordShapeSuperSenseFeatureGenerator.class.getName());
+        registeredServices.add(context.registerService(services, 
+                new WordShapeSuperSenseFeatureGenerator(), 
+                prop));
+    }
+
+    @Override
+    public void stop(BundleContext context) throws Exception {
+        for(ServiceRegistration<?> reg : registeredServices){
+            reg.unregister();
+        }
+    }
+
+}

Modified: stanbol/branches/release-0.12/commons/pom.xml
URL: http://svn.apache.org/viewvc/stanbol/branches/release-0.12/commons/pom.xml?rev=1691323&r1=1691322&r2=1691323&view=diff
==============================================================================
--- stanbol/branches/release-0.12/commons/pom.xml (original)
+++ stanbol/branches/release-0.12/commons/pom.xml Thu Jul 16 07:24:51 2015
@@ -104,7 +104,10 @@
     
     <module>jobs</module> <!-- Stanbol Background Jobs Framework -->
   
-    <module>opennlp</module> <!-- Allows to load OpenNLP modles via DataFile provider --> 
+    <!-- OpenNLP extensions -->
+    <module>opennlp</module> <!-- Allows to load OpenNLP modles via DataFile provider -->
+    <module>ixa-pipe-nerc</module> <!-- extensions for OpenNLP (STANBOL-1422)-->
+
     <module>owl</module>
   
     <!-- Apache Clerezza utils and extensions-->

Modified: stanbol/branches/release-0.12/launchers/bundlelists/stanbolcommons/src/main/bundles/list.xml
URL: http://svn.apache.org/viewvc/stanbol/branches/release-0.12/launchers/bundlelists/stanbolcommons/src/main/bundles/list.xml?rev=1691323&r1=1691322&r2=1691323&view=diff
==============================================================================
--- stanbol/branches/release-0.12/launchers/bundlelists/stanbolcommons/src/main/bundles/list.xml (original)
+++ stanbol/branches/release-0.12/launchers/bundlelists/stanbolcommons/src/main/bundles/list.xml Thu Jul 16 07:24:51 2015
@@ -390,13 +390,18 @@
     <bundle>
       <groupId>org.apache.opennlp</groupId>
       <artifactId>opennlp-tools</artifactId>
-      <version>1.5.3</version>
+      <version>1.6.0</version>
     </bundle>
     <bundle>
       <groupId>org.apache.stanbol</groupId>
       <artifactId>org.apache.stanbol.commons.opennlp</artifactId>
       <version>0.12.1-SNAPSHOT</version>
     </bundle>
+    <bundle> <!-- ixa-pipe-nerc extensions for OpenNLP (STANBOL-1422) -->
+      <groupId>org.apache.stanbol</groupId>
+      <artifactId>org.apache.stanbol.commons.ixa-pipe-nerc</artifactId>
+      <version>0.12.1-SNAPSHOT</version>
+    </bundle>
   </startLevel>
   
   <!-- Apache Solr as bundle + utilities -->

Modified: stanbol/branches/release-0.12/parent/pom.xml
URL: http://svn.apache.org/viewvc/stanbol/branches/release-0.12/parent/pom.xml?rev=1691323&r1=1691322&r2=1691323&view=diff
==============================================================================
--- stanbol/branches/release-0.12/parent/pom.xml (original)
+++ stanbol/branches/release-0.12/parent/pom.xml Thu Jul 16 07:24:51 2015
@@ -1101,7 +1101,7 @@
       <dependency>
         <groupId>org.apache.opennlp</groupId>
         <artifactId>opennlp-tools</artifactId>
-        <version>1.5.3</version>
+        <version>1.6.0</version>
       </dependency>
 
       <!-- Solr Bundles -->