org.eml.sir.rel
Class PseudoGlossGenerator

java.lang.Object
  extended byorg.eml.sir.rel.PseudoGlossGenerator
Direct Known Subclasses:
HypernymGlossGenerator, RadialGlossGenerator

public abstract class PseudoGlossGenerator
extends java.lang.Object

Class whose children's instances generate pseudoglosses on the basis of a word's properties in the GermaNet.

Author:
Hendrik Niederlich (EML-R)

Constructor Summary
PseudoGlossGenerator()
          Create a new instance of PseudoGlossGenerator.
PseudoGlossGenerator(GermaNetObject myGNObject)
          Create a new instance of PseudoGlossGenerator.
 
Method Summary
 GermaNetObject getGermaNetObject()
          Return the GermaNetObject of this PseudoGlossGenerator.
abstract  java.lang.String getGloss(Synset concept)
          Return a artificial gloss of a concept.
 int getScope()
          Get the current scope setting of the pseudo gloss generation.
 boolean onlyFirstSense()
          Return wether just the first word sense of each synset is used to build the pseudo gloss.
 void setOnlyFirstSense(boolean only)
          Set wether just the first word sense of each synset is used to build the pseudo gloss.
 void setScope(int scope)
          Set the scope of the peudo gloss generation.
 void setUseScope(boolean use)
          Set wether scope shall be use to build the gloss.
 boolean useScope()
          Return wether scope shall be use to build the gloss.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PseudoGlossGenerator

public PseudoGlossGenerator()
Create a new instance of PseudoGlossGenerator.


PseudoGlossGenerator

public PseudoGlossGenerator(GermaNetObject myGNObject)
Create a new instance of PseudoGlossGenerator.

Method Detail

getGloss

public abstract java.lang.String getGloss(Synset concept)
Return a artificial gloss of a concept.


onlyFirstSense

public boolean onlyFirstSense()
Return wether just the first word sense of each synset is used to build the pseudo gloss.


setOnlyFirstSense

public void setOnlyFirstSense(boolean only)
Set wether just the first word sense of each synset is used to build the pseudo gloss.


useScope

public boolean useScope()
Return wether scope shall be use to build the gloss.


setUseScope

public void setUseScope(boolean use)
Set wether scope shall be use to build the gloss.


getScope

public int getScope()
Get the current scope setting of the pseudo gloss generation.


setScope

public void setScope(int scope)
Set the scope of the peudo gloss generation.


getGermaNetObject

public GermaNetObject getGermaNetObject()
Return the GermaNetObject of this PseudoGlossGenerator.