|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.uzh.ifi.attempto.acewiki.core.AbstractLanguageHandler
public abstract class AbstractLanguageHandler
This is a partial implementation of a language handler.
Constructor Summary | |
---|---|
AbstractLanguageHandler()
|
Method Summary | |
---|---|
LexiconChanger |
getLexiconChanger(java.lang.String type)
Returns a lexicon changer object for the given lexical type. |
SentenceSuggestion |
getSuggestion(Sentence sentence)
Returns a suggestion to change a newly created sentence, or null (no suggestion). |
void |
setLexiconChanger(java.lang.String type,
LexiconChanger lexiconChanger)
Sets a lexicon changer for the given lexical type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ch.uzh.ifi.attempto.acewiki.core.LanguageHandler |
---|
extractSentences, getEditorController, getLanguage, getPredictiveParser, getTextOperator, init |
Constructor Detail |
---|
public AbstractLanguageHandler()
Method Detail |
---|
public void setLexiconChanger(java.lang.String type, LexiconChanger lexiconChanger)
type
- The lexical type.lexiconChanger
- The lexicon changer.public LexiconChanger getLexiconChanger(java.lang.String type)
LanguageHandler
getLexiconChanger
in interface LanguageHandler
type
- The lexical type.
public SentenceSuggestion getSuggestion(Sentence sentence)
LanguageHandler
getSuggestion
in interface LanguageHandler
sentence
- The newly created sentence.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |