|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstory.scheherazade.verbalizer.SymbolPlanner
story.scheherazade.verbalizer.NounPlanner
public class NounPlanner
Field Summary | |
---|---|
static NounPlanner |
STANDARD_CONTINUOUS_FEMALE
|
static NounPlanner |
STANDARD_CONTINUOUS_MALE
|
static NounPlanner |
STANDARD_CONTINUOUS_UNGENDERED
|
static NounPlanner |
STANDARD_DISCRETE_FEMALE
|
static NounPlanner |
STANDARD_DISCRETE_MALE
|
static NounPlanner |
STANDARD_DISCRETE_UNGENDERED
|
Constructor Summary | |
---|---|
NounPlanner(NounType type,
boolean proper)
|
Method Summary | |
---|---|
PropDiscreteness |
getDiscreteness()
|
CharacterGender |
getGender()
Return the default gender, possibly null if it has not been set. |
java.lang.Boolean |
getGiven()
Return the always-given or always-new bit, possibly null if it has not been set. |
DiscourseExecutable |
getPlan(NounPlurality plurality)
|
static DiscourseExecutable |
getStandardTypePlan(NounType type,
NounPlurality plurality)
|
NounType |
getType()
|
DiscourseExecutable |
getTypePlan(NounPlurality plurality)
Get the plan for verbalizing the type itself. |
boolean |
hasPlan()
|
boolean |
isProper()
|
void |
setDiscreteness(PropDiscreteness discreteness)
If this prop represents a continuous substances, such as water, specify so here. |
void |
setGender(CharacterGender gender)
If this noun should always be expressed as a certain gender, indicate so here |
void |
setGiven(java.lang.Boolean given)
If this noun should always be expressed as given, or always as new, indicate so here |
void |
setPlan(DiscourseExecutable plan,
NounPlurality plurality)
|
void |
setTypePlan(DiscourseExecutable plan,
NounPlurality plurality)
Set the plan for verbalizing the type itself. |
Methods inherited from class story.scheherazade.verbalizer.SymbolPlanner |
---|
getAssumedAgentArg, getMenuName, getPlan, getPrompt, hasMenuName, hasPlan, hasPrompt, isRaising, setAssumedAgentArg, setMenuName, setPlan, setPostroll, setPreroll, setPrompt, setsAssumedAgent |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final NounPlanner STANDARD_DISCRETE_UNGENDERED
public static final NounPlanner STANDARD_CONTINUOUS_UNGENDERED
public static final NounPlanner STANDARD_DISCRETE_MALE
public static final NounPlanner STANDARD_CONTINUOUS_MALE
public static final NounPlanner STANDARD_DISCRETE_FEMALE
public static final NounPlanner STANDARD_CONTINUOUS_FEMALE
Constructor Detail |
---|
public NounPlanner(NounType type, boolean proper) throws Scheherexception
Scheherexception
Method Detail |
---|
public void setTypePlan(DiscourseExecutable plan, NounPlurality plurality) throws Scheherexception
Scheherexception
public DiscourseExecutable getTypePlan(NounPlurality plurality) throws Scheherexception
Scheherexception
public static DiscourseExecutable getStandardTypePlan(NounType type, NounPlurality plurality) throws Scheherexception
Scheherexception
public void setGiven(java.lang.Boolean given) throws Scheherexception
Scheherexception
public java.lang.Boolean getGiven()
public void setGender(CharacterGender gender) throws Scheherexception
Scheherexception
public CharacterGender getGender()
public void setDiscreteness(PropDiscreteness discreteness) throws Scheherexception
Scheherexception
public PropDiscreteness getDiscreteness()
public void setPlan(DiscourseExecutable plan, NounPlurality plurality) throws Scheherexception
Scheherexception
public DiscourseExecutable getPlan(NounPlurality plurality) throws Scheherexception
Scheherexception
public NounType getType()
public boolean hasPlan()
public boolean isProper()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |