|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcolibri.extensions.textual.IE.common.ThesaurusLinker
public class ThesaurusLinker
Relates query words to cases words using WordNet. Words are related if belong to the same synset.
Tokens are related using a list of WeightedRelation objects. These relations are stored in each Token instance.
First version was developed at: Robert Gordon University - Aberdeen & Facultad Informática, Universidad Complutense de Madrid (GAIA)
Constructor Summary | |
---|---|
ThesaurusLinker()
|
Method Summary | |
---|---|
static void |
linkWithWordNet(java.util.Collection<CBRCase> cases,
CBRQuery query)
Performs the algorithm in all the attributes of a collection of cases and a query. |
static void |
linkWithWordNet(java.util.Collection<CBRCase> cases,
CBRQuery query,
java.util.Collection<Attribute> attributes)
Performs the algorithm in the given attributes of a collection of cases and a query. |
static void |
linkWithWordNet(IEText caseText,
IEText queryText)
Links two texts using wordNet. |
static void |
loadWordNet()
Initializes WordNet. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThesaurusLinker()
Method Detail |
---|
public static void linkWithWordNet(java.util.Collection<CBRCase> cases, CBRQuery query)
public static void linkWithWordNet(java.util.Collection<CBRCase> cases, CBRQuery query, java.util.Collection<Attribute> attributes)
public static void linkWithWordNet(IEText caseText, IEText queryText)
public static void loadWordNet()
|
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 |