|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OntoLexLR
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 |
---|
List getConceptIds(Object lexId)
List getLexIds(Object conceptId)
Set getAllLexIds()
Set getAllConceptIds()
void add(Object conceptId, Object lexId)
void removeByConcept(Object conceptId)
void removeByLexId(Object lexId)
void remove(Object conceptId, Object lexId)
boolean isEmpty()
void clear()
Object getLexKBIdentifier()
void setLexKBIdentifier(Object lexId)
Object getOntologyIdentifier()
void setOntologyIdentifier(Object ontoId)
|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |