jcolibri.extensions.textual.IE.common
Class BasicInformationExtractor

java.lang.Object
  extended by jcolibri.extensions.textual.IE.common.BasicInformationExtractor

public class BasicInformationExtractor
extends java.lang.Object

This class implements a basic information extractor.
For each Case Component of a case or query, this method obtains the features or phrases extracted in its textual attributes and copies the values into the other attributes of the component.
To copy the features, this method looks for attributes with the same name that the featues and typed as Strings. Then it copies the value of the feature. If there are many features it concatenates their values separated by a white space.
With the phrases it does something similar: finds attributes with the same name but typed as booleans. If so, it changes the boolean to true.

First version was developed at: Robert Gordon University - Aberdeen & Facultad Informática, Universidad Complutense de Madrid (GAIA)

Version:
2.0
Author:
Juan A. Recio-Garcia
See Also:
CaseComponent

Constructor Summary
BasicInformationExtractor()
           
 
Method Summary
static void extractInformation(CBRQuery query)
          Performs the algorithm in a query.
static void extractInformation(java.util.Collection<CBRCase> cases)
          Performs the algorithm in a collection of cases.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicInformationExtractor

public BasicInformationExtractor()
Method Detail

extractInformation

public static void extractInformation(java.util.Collection<CBRCase> cases)
Performs the algorithm in a collection of cases.


extractInformation

public static void extractInformation(CBRQuery query)
Performs the algorithm in a query.


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