story.scheherazade.verbalizer
Class VerbalizeSentence
java.lang.Object
story.scheherazade.verbalizer.VerbalizeSentence
- All Implemented Interfaces:
- DiscourseCommand, DiscourseExecutable
public class VerbalizeSentence
- extends java.lang.Object
- implements DiscourseCommand
Indicate that a VerbalizeProgram belongs to a single sentence.
Will capitalize the beginning of the verbalization and add a period
to the end of it.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VerbalizeSentence
public VerbalizeSentence(DiscoursePlan plan,
PunctuationType punctuation)
throws Scheherexception
- Throws:
Scheherexception
VerbalizeSentence
public VerbalizeSentence(DiscourseCommand command,
PunctuationType punctuation)
throws Scheherexception
- Throws:
Scheherexception
render
public java.lang.StringBuffer render()
throws Scheherexception
- Specified by:
render
in interface DiscourseCommand
- Specified by:
render
in interface DiscourseExecutable
- Throws:
Scheherexception
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.