|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eml.sir.gn.GermaNetObject
org.eml.sir.gn.StemmingGermaNetObject
Class representing a GermaNetObject whose informations can be accessed by stems of words. The query can be a deflected word. It is stemmed by the StemmingGermaNetObject's stemmer first and then looked up. If the query already is a stem, the stemming must be switched off. To do so, use the setStemming() method.
Constructor Summary | |
StemmingGermaNetObject(GermaNetObject gno)
Create a new instance of StemmingGermaNetObject. |
|
StemmingGermaNetObject(GermaNetObject gno,
Stemmer stemmer)
Create a new instance of StemmingGermaNetObject. |
Method Summary | |
Stemmer |
getStemmer()
Return the stemmer of this StemmingGermaNetObject. |
java.lang.String |
getStemmerName()
Return the name of the stemmer of this StemmingGermaNetObject. |
boolean |
getStemming()
Get information wether graphs of queries are stemmed before processing the query. |
java.util.ArrayList |
getSynsets(java.lang.String graphs)
Return a list of Synsets whose word senses all refer to the same stem. |
java.util.ArrayList |
getSynsets(java.lang.String graphs,
char pos)
Return a list of Synsets whose word senses all refer to the same stem. |
java.util.ArrayList |
getWordSenses(java.lang.String graphs)
Return a list of word senses, that all refer to the same stem. |
java.util.ArrayList |
getWordSenses(java.lang.String graphs,
char pos)
Return a list of word senses, that all refer to the same stem. |
java.util.ArrayList |
getWordSenses(java.lang.String graphs,
char pos,
int sense)
Return a list of word senses, that all refer to the same stem and the same sense. |
void |
setStemmer(Stemmer stemmer)
Set the stemmer of this StemmingGermaNetObject. |
void |
setStemming(boolean doStem)
Set stemming true if you want to stem the graphs of synset or word sense queries. |
Methods inherited from class org.eml.sir.gn.GermaNetObject |
getAllSynsets, getAllWordSenses, getSynsetsAmount, getWordSense, getWordSensesAmount, load, printAssociations, printInfo, save, wordSensesKeySet |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StemmingGermaNetObject(GermaNetObject gno)
public StemmingGermaNetObject(GermaNetObject gno, Stemmer stemmer)
Method Detail |
public Stemmer getStemmer()
public void setStemming(boolean doStem)
public boolean getStemming()
public void setStemmer(Stemmer stemmer)
public java.lang.String getStemmerName()
public java.util.ArrayList getWordSenses(java.lang.String graphs, char pos, int sense)
graphs
- Graphemic representation of the requested WordSenses.pos
- Part of speech of the requested WordSenses.sense
- Number of sense.
public java.util.ArrayList getWordSenses(java.lang.String graphs, char pos)
getWordSenses
in class GermaNetObject
graphs
- Graphemic representation of the requested WordSenses.pos
- Part of speech of the requested WordSenses.
public java.util.ArrayList getSynsets(java.lang.String graphs, char pos)
getSynsets
in class GermaNetObject
graphs
- Graphemic representation of the requested Synsets.pos
- Part of speech of the requested Synsets.
public java.util.ArrayList getWordSenses(java.lang.String graphs)
getWordSenses
in class GermaNetObject
graphs
- Graphemic representation of the requested WordSenses.
public java.util.ArrayList getSynsets(java.lang.String graphs)
getSynsets
in class GermaNetObject
graphs
- Graphemic representation of the requested Synsets.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |