eu.monnetproject.lemon.model
Interface LexicalEntry

All Superinterfaces:
LemonElement, LemonElementOrPredicate, SyntacticRoleMarker
All Known Subinterfaces:
Part, Phrase, Word
All Known Implementing Classes:
LexicalEntryImpl, PartImpl, PhraseImpl, WordImpl

public interface LexicalEntry
extends SyntacticRoleMarker

The lexical entry is the main representation of a term or word

Author:
John McCrae

Method Summary
 boolean addAbstractForm(LexicalForm abstractForm)
          Add an abstract form to the entry
 void addDecomposition(List<Component> comps)
          Add a decomposition
 boolean addForm(LexicalForm form)
          Add a lexical form to the entry
 boolean addLexicalVariant(LexicalVariant lexicalVariant, LexicalEntry lexicalVariantVal)
          Add a lexical variant of the entry
 boolean addOtherForm(LexicalForm otherForm)
          Add an other form to the entry
 boolean addPattern(MorphPattern pattern)
          Add a morphological pattern
 boolean addPhraseRoot(Node phraseRoot)
          Add a phrase structure tree to the entry
 boolean addSense(LexicalSense sense)
          Add a sense to the entry
 boolean addSynBehavior(Frame synBehavior)
          Add a syntactic behavior to the entry
 boolean addTopic(LexicalTopic topic)
          Add a topic to the entry
 Collection<LexicalForm> getAbstractForms()
          Get the abstract forms of the entry
 LexicalForm getCanonicalForm()
          Get the canonical form of the entry
 Collection<List<Component>> getDecompositions()
          Get the decompositions of this entry
 Collection<LexicalForm> getForms()
          Get all lexical forms of the entry
 Component getHead()
          Get the head component
 Collection<LexicalEntry> getLexicalVariant(LexicalVariant lexicalVariant)
          Get the set entries that are a given variant of the entry
 Map<LexicalVariant,Collection<LexicalEntry>> getLexicalVariants()
          Get the lexical variants of the entry
 Collection<LexicalForm> getOtherForms()
          Get the other forms of the entry
 Collection<MorphPattern> getPatterns()
          Get all morphological patterns
 Collection<Node> getPhraseRoots()
          Get the phrase structure trees of the entry
 Collection<LexicalSense> getSenses()
          Get the senses of the entry
 Collection<Frame> getSynBehaviors()
          Get the syntactic behaviors of the entry
 Collection<LexicalTopic> getTopics()
          Get the topics of the entry
 boolean removeAbstractForm(LexicalForm abstractForm)
          Remove an abstract form from the entry
 boolean removeDecomposition(List<Component> comps)
          Remove a decomposition
 boolean removeForm(LexicalForm form)
          Remove a lexical form from the entry
 boolean removeLexicalVariant(LexicalVariant lexicalVariant, LexicalEntry lexicalVariantVal)
          Remove a lexical variant of the entry
 boolean removeOtherForm(LexicalForm otherForm)
          Remove an other form from the entry
 boolean removePattern(MorphPattern pattern)
          Remove a morphological pattern
 boolean removePhraseRoot(Node phraseRoot)
          Remove a phrase structure tree from the entry
 boolean removeSense(LexicalSense sense)
          Remove a sense to the entry
 boolean removeSynBehavior(Frame synBehavior)
          Remove a syntactic behavior from the entry
 boolean removeTopic(LexicalTopic topic)
          Remove a topic from the entry
 void setCanonicalForm(LexicalForm canonicalForm)
          Set the canonical form of the entry
 void setHead(Component component)
          Set the head component
 
Methods inherited from interface eu.monnetproject.lemon.model.LemonElement
addAnnotation, addProperty, addType, getAnnotations, getAnnotations, getID, getProperty, getPropertys, getTypes, removeAnnotation, removeProperty, removeType
 
Methods inherited from interface eu.monnetproject.lemon.model.LemonElementOrPredicate
getURI
 

Method Detail

getCanonicalForm

LexicalForm getCanonicalForm()
Get the canonical form of the entry


setCanonicalForm

void setCanonicalForm(LexicalForm canonicalForm)
Set the canonical form of the entry


getOtherForms

Collection<LexicalForm> getOtherForms()
Get the other forms of the entry


addOtherForm

boolean addOtherForm(LexicalForm otherForm)
Add an other form to the entry


removeOtherForm

boolean removeOtherForm(LexicalForm otherForm)
Remove an other form from the entry


getAbstractForms

Collection<LexicalForm> getAbstractForms()
Get the abstract forms of the entry


addAbstractForm

boolean addAbstractForm(LexicalForm abstractForm)
Add an abstract form to the entry


removeAbstractForm

boolean removeAbstractForm(LexicalForm abstractForm)
Remove an abstract form from the entry


getTopics

Collection<LexicalTopic> getTopics()
Get the topics of the entry


addTopic

boolean addTopic(LexicalTopic topic)
Add a topic to the entry


removeTopic

boolean removeTopic(LexicalTopic topic)
Remove a topic from the entry


getLexicalVariants

Map<LexicalVariant,Collection<LexicalEntry>> getLexicalVariants()
Get the lexical variants of the entry


getLexicalVariant

Collection<LexicalEntry> getLexicalVariant(LexicalVariant lexicalVariant)
Get the set entries that are a given variant of the entry


addLexicalVariant

boolean addLexicalVariant(LexicalVariant lexicalVariant,
                          LexicalEntry lexicalVariantVal)
Add a lexical variant of the entry


removeLexicalVariant

boolean removeLexicalVariant(LexicalVariant lexicalVariant,
                             LexicalEntry lexicalVariantVal)
Remove a lexical variant of the entry


getSynBehaviors

Collection<Frame> getSynBehaviors()
Get the syntactic behaviors of the entry


addSynBehavior

boolean addSynBehavior(Frame synBehavior)
Add a syntactic behavior to the entry


removeSynBehavior

boolean removeSynBehavior(Frame synBehavior)
Remove a syntactic behavior from the entry


getDecompositions

Collection<List<Component>> getDecompositions()
Get the decompositions of this entry


addDecomposition

void addDecomposition(List<Component> comps)
Add a decomposition


removeDecomposition

boolean removeDecomposition(List<Component> comps)
Remove a decomposition


getSenses

Collection<LexicalSense> getSenses()
Get the senses of the entry


addSense

boolean addSense(LexicalSense sense)
Add a sense to the entry


removeSense

boolean removeSense(LexicalSense sense)
Remove a sense to the entry


getPhraseRoots

Collection<Node> getPhraseRoots()
Get the phrase structure trees of the entry


addPhraseRoot

boolean addPhraseRoot(Node phraseRoot)
Add a phrase structure tree to the entry


removePhraseRoot

boolean removePhraseRoot(Node phraseRoot)
Remove a phrase structure tree from the entry


getForms

Collection<LexicalForm> getForms()
Get all lexical forms of the entry


addForm

boolean addForm(LexicalForm form)
Add a lexical form to the entry


removeForm

boolean removeForm(LexicalForm form)
Remove a lexical form from the entry


getPatterns

Collection<MorphPattern> getPatterns()
Get all morphological patterns


addPattern

boolean addPattern(MorphPattern pattern)
Add a morphological pattern


removePattern

boolean removePattern(MorphPattern pattern)
Remove a morphological pattern


getHead

Component getHead()
Get the head component


setHead

void setHead(Component component)
Set the head component



Copyright © 2012. All Rights Reserved.