diff --git a/dkpro-core-opennlp-asl/pom.xml b/dkpro-core-opennlp-asl/pom.xml
index 9696b539b..1f0a0b7b6 100644
--- a/dkpro-core-opennlp-asl/pom.xml
+++ b/dkpro-core-opennlp-asl/pom.xml
@@ -31,7 +31,7 @@
https://dkpro.github.io/dkpro-core/
- 2.3.3
+ 2.5.0
diff --git a/dkpro-core-opennlp-asl/src/main/java/org/dkpro/core/opennlp/OpenNlpPosTagger.java b/dkpro-core-opennlp-asl/src/main/java/org/dkpro/core/opennlp/OpenNlpPosTagger.java
index b3673f498..5f547606b 100644
--- a/dkpro-core-opennlp-asl/src/main/java/org/dkpro/core/opennlp/OpenNlpPosTagger.java
+++ b/dkpro-core-opennlp-asl/src/main/java/org/dkpro/core/opennlp/OpenNlpPosTagger.java
@@ -56,6 +56,7 @@
import eu.openminted.share.annotations.api.DocumentationResource;
import eu.openminted.share.annotations.api.constants.OperationType;
import opennlp.tools.postag.POSModel;
+import opennlp.tools.postag.POSTagFormat;
import opennlp.tools.postag.POSTaggerME;
/**
@@ -195,7 +196,7 @@ protected POSTaggerME produceResource(InputStream aStream)
// tag::model-provider-decl[]
// Create a new POS tagger instance from the loaded model
- return new POSTaggerME(model);
+ return new POSTaggerME(model, POSTagFormat.CUSTOM);
}
};
// end::model-provider-decl[]