jcolibri.extensions.textual.IE.gate
Class GateSplitter

java.lang.Object
  extended by jcolibri.extensions.textual.IE.gate.GateSplitter

public class GateSplitter
extends java.lang.Object

Organizes an IETextGate object in paragraphs, sentences and tokens. This implementation uses the GATE algorithms to obtain sentences and tokens.

Version:
1.0
Author:
Juan A. Recio-Garcia

Constructor Summary
GateSplitter()
           
 
Method Summary
protected static void organizeText(IETextGate text)
          Performs the algorithm in a given IETextGate object
static void split(CBRQuery query)
          Performs the algorithm in all the IETextGate typed attributes of a collection of cases.
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)
           
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(IETextGate text)
          Performs the algorithm in all the IETextGate typed attributes of a query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GateSplitter

public GateSplitter()
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 IETextGate 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 IETextGate objects.


split

public static void split(java.util.Collection<CBRCase> cases)

split

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


split

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


organizeText

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


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