|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.northwestern.at.utils.IsCloseableObject
edu.northwestern.at.utils.corpuslinguistics.thesaurus.AbstractThesaurus
public abstract class AbstractThesaurus
Base class for a thesaurus.
| Field Summary | |
|---|---|
protected Logger |
logger
Logger used for output. |
| Constructor Summary | |
|---|---|
AbstractThesaurus()
Create a word tokenizer. |
|
| Method Summary | |
|---|---|
abstract java.util.List<java.lang.String> |
getAntonyms(java.lang.String word)
Get antonyms. |
Logger |
getLogger()
Get the logger. |
abstract java.util.List<java.lang.String> |
getSynonyms(java.lang.String word)
Get synonyms. |
void |
setLogger(Logger logger)
Set the logger. |
| Methods inherited from class edu.northwestern.at.utils.IsCloseableObject |
|---|
close |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface edu.northwestern.at.utils.corpuslinguistics.thesaurus.Thesaurus |
|---|
getAntonyms, getSynonyms |
| Methods inherited from interface edu.northwestern.at.utils.IsCloseable |
|---|
close |
| Field Detail |
|---|
protected Logger logger
| Constructor Detail |
|---|
public AbstractThesaurus()
| Method Detail |
|---|
public Logger getLogger()
getLogger in interface UsesLoggerpublic void setLogger(Logger logger)
setLogger in interface UsesLoggerlogger - The logger.public abstract java.util.List<java.lang.String> getSynonyms(java.lang.String word)
getSynonyms in interface Thesaurusword - Word for which to find synonyms.
public abstract java.util.List<java.lang.String> getAntonyms(java.lang.String word)
getAntonyms in interface Thesaurusword - Word for which to find antonyms.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||