|
|||||||||
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 ch.uzh.ifi.attempto.acewiki.core.MonolingualHandler ch.uzh.ifi.attempto.acewiki.aceowl.ACEHandler
public class ACEHandler
This is a language handler implementation for ACE.
Constructor Summary | |
---|---|
ACEHandler()
Creates a new language handler for ACE. |
Method Summary | |
---|---|
java.util.List<Sentence> |
extractSentences(TextContainer tc,
PredictiveParser pp)
Extracts the sentences from a text container and/or a parser state. |
EditorController |
getEditorController()
Returns the controller object for the predictive editor. |
PredictiveParser |
getPredictiveParser()
Returns the predictive parser to be used within the predictive editor. |
SentenceSuggestion |
getSuggestion(Sentence sentence)
Returns a suggestion to change a newly created sentence, or null (no suggestion). |
TextOperator |
getTextOperator()
Returns the text operator. |
void |
init(Ontology ontology)
This is the first method to be called and provides the ontology object. |
Methods inherited from class ch.uzh.ifi.attempto.acewiki.core.MonolingualHandler |
---|
getLanguage |
Methods inherited from class ch.uzh.ifi.attempto.acewiki.core.AbstractLanguageHandler |
---|
getLexiconChanger, setLexiconChanger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ACEHandler()
Method Detail |
---|
public void init(Ontology ontology)
LanguageHandler
ontology
- The ontology object.public TextOperator getTextOperator()
LanguageHandler
public java.util.List<Sentence> extractSentences(TextContainer tc, PredictiveParser pp)
LanguageHandler
tc
- The text container.pp
- The parser object with the parsed text.
public EditorController getEditorController()
LanguageHandler
public PredictiveParser getPredictiveParser()
LanguageHandler
public SentenceSuggestion getSuggestion(Sentence sentence)
LanguageHandler
getSuggestion
in interface LanguageHandler
getSuggestion
in class AbstractLanguageHandler
sentence
- The newly created sentence.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |