|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcolibri.extensions.textual.IE.gate.GateFeaturesExtractor
public class GateFeaturesExtractor
Extract features from text using the GATE grammars in jape format.
This method uses internally an ANNIETransducer object.
GATE's default rules file or any other file can be loaded.
It is compatible with the generic FeaturesExtractor so they can be executed together.
For more information see the GATE tutorial.
Constructor Summary | |
---|---|
GateFeaturesExtractor()
|
Method Summary | |
---|---|
static void |
extractFeatures(CBRQuery query)
Performs the algorithm in all the IETextGate typed attributes of a query. |
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 IETextGate typed attributes of a collection of cases. |
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(IETextGate text)
Performs the algorithm in a given IETextGate object |
static void |
loadDefaultRules()
|
static void |
loadRules(java.lang.String filename)
Loads a rules file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GateFeaturesExtractor()
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(IETextGate text)
public static void loadDefaultRules()
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 |