jcolibri.extensions.textual.IE.opennlp
Class OpennlpSplitter

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

public class OpennlpSplitter
extends java.lang.Object

Organizes an IETextOpenNLP object in paragraphs, sentences and tokens. This implementation uses maximum entropy algorithms to obtain sentences and tokens.

Version:
1.0
Author:
Juan A. Recio-Garcia

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

Constructor Detail

OpennlpSplitter

public OpennlpSplitter()
Method Detail

split

public static void split(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.


split

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


split

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


split

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


split

public static void split(IETextOpenNLP text)

organizeText

protected static void organizeText(IETextOpenNLP text)
Performs the algorithm in a given IETextOpenNLP object


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