|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcolibri.extensions.textual.IE.common.FeaturesExtractor
public class FeaturesExtractor
Extracts features using Regular Expressions.
Rules format is:
[FeatureName]{FeaturePosition}FeatureRegularExpresion
In the expression ((A)(B(C))), for example, there are four such groups:
Group zero always stands for the entire expression
The first version was developed at: Robert Gordon University - Aberdeen & Facultad Informática, Universidad Complutense de Madrid (GAIA)
Constructor Summary | |
---|---|
FeaturesExtractor()
|
Method Summary | |
---|---|
static void |
extractFeatures(CBRQuery query)
Performs the algorithm in all the attributes of a query These attributes must be IEText objects. |
static void |
extractFeatures(CBRQuery query,
java.util.Collection<Attribute> attributes)
Performs the algorithm in the given attributes of a query. |
static void |
extractFeatures(java.util.Collection<CBRCase> cases)
Performs the algorithm in all the attributes of a collection of cases These attributes must be IEText objects. |
static void |
extractFeatures(java.util.Collection<CBRCase> cases,
java.util.Collection<Attribute> attributes)
Performs the algorithm in the given attributes of a collection of cases. |
static void |
extractFeatures(IEText text)
Performs the algorithm in a given IEText object |
static void |
loadRules(java.lang.String filename)
Load the features rules |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FeaturesExtractor()
Method Detail |
---|
public static void extractFeatures(java.util.Collection<CBRCase> cases, java.util.Collection<Attribute> attributes)
public static void extractFeatures(CBRQuery query, java.util.Collection<Attribute> attributes)
public static void extractFeatures(java.util.Collection<CBRCase> cases)
public static void extractFeatures(CBRQuery query)
public static void extractFeatures(IEText text)
public static void loadRules(java.lang.String filename)
|
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 |