story.scheherazade.verbalizer
Class VerbalizeDegree
java.lang.Object
story.scheherazade.verbalizer.VerbalizeDegree
public class VerbalizeDegree
- extends java.lang.Object
Verbalize a degree of truth for a Condition.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOMEWHAT_THRESHOLD
public static final int SOMEWHAT_THRESHOLD
- See Also:
- Constant Field Values
NEUTRAL_THRESHOLD
public static final int NEUTRAL_THRESHOLD
- See Also:
- Constant Field Values
VERY_THRESHOLD
public static final int VERY_THRESHOLD
- See Also:
- Constant Field Values
EXTREMELY_THRESHOLD
public static final int EXTREMELY_THRESHOLD
- See Also:
- Constant Field Values
VerbalizeDegree
public VerbalizeDegree()
getPolarity
public static boolean getPolarity(int degree)
throws Scheherexception
- Returns whether the condition is asserted to be essentially true or false.
- Throws:
Scheherexception
getDegreeOfCategory
public static int getDegreeOfCategory(DegreeCategory category)
throws Scheherexception
- Throws:
Scheherexception
getCategoryOfDegree
public static DegreeCategory getCategoryOfDegree(int degree)
throws Scheherexception
- Throws:
Scheherexception
getMenuName
public static java.lang.String getMenuName(DegreeCategory category)
throws Scheherexception
- Throws:
Scheherexception
getModifier
public static DiscourseCommand getModifier(int degree,
ConditionGrammaticalType type)
throws Scheherexception
- Throws:
Scheherexception
Copyright © 2011 David K. Elson. All Rights Reserved.