eu.monnetproject.lemon.model
Interface LexicalForm

All Superinterfaces:
LemonElement, LemonElementOrPredicate
All Known Implementing Classes:
FormImpl, VirtualForm

public interface LexicalForm
extends LemonElement

A form of a lexical entry

Author:
John McCrae

Method Summary
 boolean addFormVariant(FormVariant formVariant, LexicalForm formVariantVal)
          Add a variant of this form
 boolean addRepresentation(Representation representation, Text representationVal)
          Add an alternative representation of the form
 Collection<LexicalForm> getFormVariant(FormVariant formVariant)
          Get a particular variant set of this form
 Map<FormVariant,Collection<LexicalForm>> getFormVariants()
          Get any variants of this form
 Collection<Text> getRepresentation(Representation representation)
          Get a particular set of representations of the form
 Map<Representation,Collection<Text>> getRepresentations()
          Get the alternative representations of the form
 Text getWrittenRep()
          Get the primary written representation of the form
 boolean removeFormVariant(FormVariant formVariant, LexicalForm formVariantVal)
          Remove a variant of this form
 boolean removeRepresentation(Representation representation, Text representationVal)
          Remove an alternative representation of the form
 void setWrittenRep(Text writtenRep)
          Set the primary written representation of the form
 
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

getWrittenRep

Text getWrittenRep()
Get the primary written representation of the form


setWrittenRep

void setWrittenRep(Text writtenRep)
Set the primary written representation of the form


getRepresentations

Map<Representation,Collection<Text>> getRepresentations()
Get the alternative representations of the form


getRepresentation

Collection<Text> getRepresentation(Representation representation)
Get a particular set of representations of the form


addRepresentation

boolean addRepresentation(Representation representation,
                          Text representationVal)
Add an alternative representation of the form


removeRepresentation

boolean removeRepresentation(Representation representation,
                             Text representationVal)
Remove an alternative representation of the form


getFormVariants

Map<FormVariant,Collection<LexicalForm>> getFormVariants()
Get any variants of this form


getFormVariant

Collection<LexicalForm> getFormVariant(FormVariant formVariant)
Get a particular variant set of this form


addFormVariant

boolean addFormVariant(FormVariant formVariant,
                       LexicalForm formVariantVal)
Add a variant of this form


removeFormVariant

boolean removeFormVariant(FormVariant formVariant,
                          LexicalForm formVariantVal)
Remove a variant of this form



Copyright © 2012. All Rights Reserved.