|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectstory.scheherazade.verbalizer.VerbalizeNoun
public class VerbalizeNoun
| Constructor Summary | |
|---|---|
VerbalizeNoun(NamedNoun hypotheticalNoun)
Constructor for a hypothetical noun, one that is divorced from the facts in the actual story. |
|
VerbalizeNoun(NamedNoun hypotheticalNoun,
NounPlurality plurality)
Constructor for verbalizing as a noun TYPE (e.g., groups of grapes) by invoking the noun plan. |
|
VerbalizeNoun(NounName nounName,
SemanticRole role)
Constructor for a defined noun. |
|
| Method Summary | |
|---|---|
Verbalization |
execute(StoryInterpreter story,
Style style,
VerbalizerState state)
|
static DiscoursePlan |
getResetPronounPlan()
Prepare Verbalizer commands that will cause the next few nouns to be introduced without pronoun substition |
void |
intern()
|
java.lang.StringBuffer |
render()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VerbalizeNoun(NounName nounName,
SemanticRole role)
throws Scheherexception
nounName - The name of the noun.role - The semantic role that the noun serves in the
current verbalization. Pass null if unknown.
Scheherexception
public VerbalizeNoun(NamedNoun hypotheticalNoun)
throws Scheherexception
Scheherexception
public VerbalizeNoun(NamedNoun hypotheticalNoun,
NounPlurality plurality)
throws Scheherexception
Scheherexception| Method Detail |
|---|
public java.lang.StringBuffer render()
render in interface DiscourseCommandrender in interface DiscourseExecutable
public Verbalization execute(StoryInterpreter story,
Style style,
VerbalizerState state)
throws Scheherexception
execute in interface DiscourseCommandScheherexception
public static DiscoursePlan getResetPronounPlan()
throws Scheherexception
Scheherexceptionpublic void intern()
intern in interface DiscourseCommandintern in interface DiscourseExecutable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||