Class LexicalForm

java.lang.Object
org.getalp.model.ontolex.LexicalForm

public class LexicalForm extends Object
  • Constructor Details

    • LexicalForm

      public LexicalForm()
    • LexicalForm

      public LexicalForm(InflectionScheme features)
  • Method Details

    • getFeature

      public InflectionScheme getFeature()
    • setFeature

      public void setFeature(InflectionScheme features)
    • getValues

      public Set<Representation> getValues()
    • getValues

      public Set<Representation> getValues(Class<? extends Representation> proto)
    • addValue

      public void addValue(Representation representation)
    • removeValue

      public void removeValue(Representation representation)
    • attachTo

      public org.apache.jena.rdf.model.Resource attachTo(org.apache.jena.rdf.model.Resource lexEntry)
      Attach the Lexical Form to the given lexical entry in its model.
      Parameters:
      lexEntry -
      Returns:
      the lexical form resource (it may be a new resource or an already existing one).