|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcolibri.extensions.textual.IE.common.BasicInformationExtractor
public class BasicInformationExtractor
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)
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 |
---|
public BasicInformationExtractor()
Method Detail |
---|
public static void extractInformation(java.util.Collection<CBRCase> cases)
public static void extractInformation(CBRQuery query)
|
GAIA - Group for Artificial Intelligence Applications http://gaia.fdi.ucm.es |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |