jcolibri.extensions.textual.IE.opennlp
Class OpennlpPOStagger

java.lang.Object
  extended by jcolibri.extensions.textual.IE.opennlp.OpennlpPOStagger

public class OpennlpPOStagger
extends java.lang.Object

Performs the POS tagging using a OpenNLP Maximum Entropy algorithm. This algorithm uses the same tags than GATE.
Part-Of-Speech tags (the original GATE set):

Version:
2.0
Author:
Juan A. Recio-Garcia

Constructor Summary
OpennlpPOStagger()
           
 
Method Summary
static void tag(CBRQuery query)
          Performs the algorithm in all the IETextOpenNLP typed attributes of a query.
static void tag(CBRQuery query, java.util.Collection<Attribute> attributes)
          Performs the algorithm in the given attributes of a query.
static void tag(java.util.Collection<CBRCase> cases)
          Performs the algorithm in all the IETextOpenNLP typed attributes of a collection of cases.
static void tag(java.util.Collection<CBRCase> cases, java.util.Collection<Attribute> attributes)
          Performs the algorithm in the given attributes of a collection of cases.
static void tag(IETextOpenNLP text)
          Performs the algorithm in a given IETextOpenNLP object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpennlpPOStagger

public OpennlpPOStagger()
Method Detail

tag

public static void tag(java.util.Collection<CBRCase> cases,
                       java.util.Collection<Attribute> attributes)
Performs the algorithm in the given attributes of a collection of cases. These attributes must be IETextOpenNLP objects.


tag

public static void tag(CBRQuery query,
                       java.util.Collection<Attribute> attributes)
Performs the algorithm in the given attributes of a query. These attributes must be IETextOpenNLP objects.


tag

public static void tag(java.util.Collection<CBRCase> cases)
Performs the algorithm in all the IETextOpenNLP typed attributes of a collection of cases.


tag

public static void tag(CBRQuery query)
Performs the algorithm in all the IETextOpenNLP typed attributes of a query.


tag

public static void tag(IETextOpenNLP text)
Performs the algorithm in a given IETextOpenNLP object


GAIA - Group for Artificial Intelligence Applications
http://gaia.fdi.ucm.es