/* * Copyright 2016 * Ubiquitous Knowledge Processing (UKP) Lab * Technische Universität Darmstadt * * Licensed 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 de.tudarmstadt.ukp.dkpro.core.ixa; import de.tudarmstadt.ukp.dkpro.core.opennlp.OpenNlpPosTagger; /** * Part-of-Speech annotator using OpenNLP with IXA extensions. */ public class IxaPosTagger extends OpenNlpPosTagger { // The IXA POS tagger models make use of IXA classes. But they do so from within OpenNLP. // From the outside, it looks and works exactly like an OpenNLP POS tagger. So we just // derive from the OpenNlpPosTagger in side this module. This has the effect that through // the module dependencies, we have the required IXA JARs on the classpath. It also has // the effect that the package for the models changes from ...opennlp.lib to ...ixa.lib. }