story.scheherazade.verbalizer
Class VerbalizeNounTypeArg

java.lang.Object
  extended by story.scheherazade.verbalizer.VerbalizeNounTypeArg
All Implemented Interfaces:
DiscourseCommand, DiscourseExecutable

public class VerbalizeNounTypeArg
extends java.lang.Object
implements DiscourseCommand

A DiscourseCommand to verbalize a frame argument that represents a type of noun.


Constructor Summary
VerbalizeNounTypeArg(int arg, NounPlurality plurality)
           
 
Method Summary
 Verbalization execute(StoryInterpreter story, Style style, VerbalizerState state)
           
 int getArgNumber()
           
 void intern()
           
 java.lang.StringBuffer render()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerbalizeNounTypeArg

public VerbalizeNounTypeArg(int arg,
                            NounPlurality plurality)
                     throws Scheherexception
Throws:
Scheherexception
Method Detail

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

getArgNumber

public int getArgNumber()

intern

public void intern()
Specified by:
intern in interface DiscourseCommand
Specified by:
intern in interface DiscourseExecutable


Copyright © 2011 David K. Elson. All Rights Reserved.