story.scheherazade.verbalizer
Class VerbalizeTransition
java.lang.Object
story.scheherazade.verbalizer.VerbalizeTransition
- All Implemented Interfaces:
- DiscourseCommand, DiscourseExecutable
public class VerbalizeTransition
- extends java.lang.Object
- implements DiscourseCommand
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VerbalizeTransition
public VerbalizeTransition(TimelineID timeline,
TransitionTime time,
VerbTense tense,
boolean conditional,
boolean encapsulateInSentence,
Conditionality conditionality,
TimelineTime perceptionTime)
throws Scheherexception
- Parameters:
conditionality - Whether to filter for IF or THEN actions.conditional - Whether to verbalize as a WOULD conditional.perceptionTime - The point of perception for determining
tense/modality in verbalization
- Throws:
Scheherexception
render
public java.lang.StringBuffer render()
- Specified by:
render in interface DiscourseCommand- Specified by:
render in interface DiscourseExecutable
execute
public Verbalization execute(StoryInterpreter story,
Style style,
VerbalizerState state)
throws Scheherexception
- Specified by:
execute in interface DiscourseCommand
- Throws:
Scheherexception
intern
public void intern()
- Specified by:
intern in interface DiscourseCommand- Specified by:
intern in interface DiscourseExecutable
Copyright © 2011 David K. Elson. All Rights Reserved.