|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmt.edu.um.nlgapp.NLGApplication
public abstract class NLGApplication
This is the class for an NLG application. It requires an document planner, a microplanner and a realiser.
Constructor Summary | |
---|---|
NLGApplication()
Default (empty) constructor |
|
NLGApplication(DocPlanner dp,
Microplanner mp,
NLGRealiser r)
Constructor with parameters |
Method Summary | |
---|---|
java.lang.String |
generate(uk.ac.abdn.carados.OntologyHandler ontology)
This is the principal method to generate a text, and models the generation pipeline. |
DocPlanner |
getDocplanner()
|
Microplanner |
getMicroplanner()
|
NLGRealiser |
getRealiser()
|
void |
setDocplanner(DocPlanner docplanner)
|
void |
setMicroplanner(Microplanner microplanner)
|
void |
setRealiser(NLGRealiser realiser)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NLGApplication()
public NLGApplication(DocPlanner dp, Microplanner mp, NLGRealiser r)
dp
- the doc plannermp
- the microplannerr
- the realiserMethod Detail |
---|
public DocPlanner getDocplanner()
public void setDocplanner(DocPlanner docplanner)
docplanner
- the docplanner to setpublic Microplanner getMicroplanner()
public void setMicroplanner(Microplanner microplanner)
microplanner
- the microplanner to setpublic NLGRealiser getRealiser()
public void setRealiser(NLGRealiser realiser)
realiser
- the realiser to setpublic java.lang.String generate(uk.ac.abdn.carados.OntologyHandler ontology)
ontology
- the ontology containing the instances or messages
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |