|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Title: OntoLexLR interface, GATE2
Description: This interface describes the mapping between ontological concepts/instances and lexical entries. Such mapping is needed to support language generation and also understanding that uses both lexicons of synonyms and other lexical info and an ontology of the domain.
Developed for the purpose of the MIAKT project, February 2003.
Copyright: Copyright (c) 2000
Company: University Of Sheffield
Method Summary | |
void |
add(Object conceptId,
Object lexId)
Add a concept<->lexical ID pair |
void |
clear()
Clear the mapping |
Set |
getAllConceptIds()
Returns a list of objects which are all concept IDs in this mapping. |
Set |
getAllLexIds()
Returns a list of objects which are all lexical IDs in this mapping. |
List |
getConceptIds(Object lexId)
Returns a list of objects which are the concept IDs corresponding to the given lexical Id. |
List |
getLexIds(Object conceptId)
Returns a list of objects which are the lexical IDs corresponding to the given concept Id. |
Object |
getLexKBIdentifier()
Accessor for the lexical Id property. |
Object |
getOntologyIdentifier()
Accessor for the ontology Id property |
boolean |
isEmpty()
True if the mapping is empty |
void |
remove(Object conceptId,
Object lexId)
Remove the given mapping |
void |
removeByConcept(Object conceptId)
Remove all mappings to lexical items for the given concept Id |
void |
removeByLexId(Object lexId)
Remove all mappings to concept items for the given lexical Id |
void |
setLexKBIdentifier(Object lexId)
Set method for the lexical Id property. |
void |
setOntologyIdentifier(Object ontoId)
Set method for the ontology Id property. |
Methods inherited from interface gate.LanguageResource |
getDataStore, getLRPersistenceId, getParent, isModified, setDataStore, setLRPersistenceId, setParent, sync |
Methods inherited from interface gate.Resource |
cleanup, getParameterValue, init, setParameterValue, setParameterValues |
Methods inherited from interface gate.util.FeatureBearer |
getFeatures, setFeatures |
Methods inherited from interface gate.util.NameBearer |
getName, setName |
Method Detail |
public List getConceptIds(Object lexId)
public List getLexIds(Object conceptId)
public Set getAllLexIds()
public Set getAllConceptIds()
public void add(Object conceptId, Object lexId)
public void removeByConcept(Object conceptId)
public void removeByLexId(Object lexId)
public void remove(Object conceptId, Object lexId)
public boolean isEmpty()
public void clear()
public Object getLexKBIdentifier()
public void setLexKBIdentifier(Object lexId)
public Object getOntologyIdentifier()
public void setOntologyIdentifier(Object ontoId)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |