|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcolibri.extensions.textual.IE.common.GlossaryLinker
public class GlossaryLinker
Relates query words to cases words using a domain specific glossary.
Tokens are related using a list of WeightedRelation objects. These relations are stored in each Token instance.
Glossary Format:
[Part-of-Speech Tag]{Similarity} word1 word2 ... wordn
Possible values: NOUN, VERB, ADJECTIVE, ADVERB
Possible values: 1, 2, 3. (1 - very similar, 2 - similar, 3 - not very similar)
The first version was developed at: Robert Gordon University - Aberdeen & Facultad Informática, Universidad Complutense de Madrid (GAIA)
Field Summary | |
---|---|
protected static java.util.ArrayList<jcolibri.extensions.textual.IE.common.GlossaryLinker.GlossaryTriple> |
glossary
|
Constructor Summary | |
---|---|
GlossaryLinker()
|
Method Summary | |
---|---|
static void |
LinkWithGlossary(java.util.Collection<CBRCase> cases,
CBRQuery query)
Performs the algorithm in all the ttributes of a collection of cases and a query. |
static void |
linkWithGlossary(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 |
linkWithGlossary(IEText caseText,
IEText queryText)
Links two text objects using the glossary. |
static void |
loadGlossary(java.lang.String filename)
Load glossary reations stored in GLOSSARY_FILE |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static java.util.ArrayList<jcolibri.extensions.textual.IE.common.GlossaryLinker.GlossaryTriple> glossary
Constructor Detail |
---|
public GlossaryLinker()
Method Detail |
---|
public static void LinkWithGlossary(java.util.Collection<CBRCase> cases, CBRQuery query)
public static void linkWithGlossary(java.util.Collection<CBRCase> cases, CBRQuery query, java.util.Collection<Attribute> attributes)
public static void linkWithGlossary(IEText caseText, IEText queryText)
public static void loadGlossary(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 |