story.scheherazade.elements
Class KBTools

java.lang.Object
  extended by story.scheherazade.elements.KBTools

public class KBTools
extends java.lang.Object

Tools for building a knowledge base.


Constructor Summary
KBTools()
           
 
Method Summary
static void registerCharacterAction(StoryInterpreter interpreter, PlannerRepository planners, TimelineID timeline, ActionType action, WordNetOffset offset, ActionType superAction, java.lang.String presentSimple, java.lang.String pastSimple, java.lang.String infinitive, java.lang.String progressive)
           
static void registerCharacterCharacterAction(StoryInterpreter interpreter, PlannerRepository planners, TimelineID timeline, ActionType action, WordNetOffset offset, ActionType superAction, java.lang.String presentSimple, java.lang.String pastSimple, java.lang.String infinitive, java.lang.String progressive)
           
static void registerCharacterPropAction(StoryInterpreter interpreter, PlannerRepository planners, TimelineID timeline, ActionType action, WordNetOffset offset, ActionType superAction, java.lang.String presentSimple, java.lang.String pastSimple, java.lang.String infinitive, java.lang.String progressive)
           
static void registerCharacterRelationship(StoryInterpreter interpreter, PlannerRepository planners, TimelineID timeline, ConditionType condition, ConditionType superCondition, boolean unique)
           
static void registerEmptyAction(StoryInterpreter interpreter, PlannerRepository planners, TimelineID timeline, ActionType action, WordNetOffset offset, ActionType superAction, java.lang.String presentSimple, java.lang.String pastSimple, java.lang.String infinitive, java.lang.String progressive)
           
static void registerInterpersonalEmotionCondition(StoryInterpreter interpreter, PlannerRepository planners, TimelineID timeline, ConditionType condition, ConditionType superCondition)
           
static void registerPropAction(StoryInterpreter interpreter, PlannerRepository planners, TimelineID timeline, ActionType action, WordNetOffset offset, ActionType superAction, java.lang.String presentSimple, java.lang.String pastSimple, java.lang.String infinitive, java.lang.String progressive)
           
static void registerSimpleAdjectival(StoryInterpreter interpreter, PlannerRepository planners, TimelineID timeline, java.lang.String adjective, ConditionType condition, ConditionType supertype, NounFlavorSet allowedFlavors)
           
static void registerSimpleAdverb(StoryInterpreter interpreter, PlannerRepository planners, TimelineID timeline, java.lang.String adverb, ModifierType modifier, ModifierType supertype, ModifierGrammaticalType grammaticalType)
           
static void registerSimpleCharacterAdjective(StoryInterpreter interpreter, PlannerRepository planners, TimelineID timeline, java.lang.String adjective, ConditionType superCondition)
           
static void registerSimpleEmotionCondition(StoryInterpreter interpreter, PlannerRepository planners, TimelineID timeline, ConditionType condition, ConditionType superCondition)
           
static void registerSimplePropCondition(StoryInterpreter interpreter, PlannerRepository planners, TimelineID timeline, ConditionType condition, ConditionType superCondition)
           
static void registerStandardPlannerNounType(StoryInterpreter interpreter, PlannerRepository planners, TimelineID timeline, NounType noun, NounType supertype, java.lang.String menuName, java.lang.String offset, java.lang.String pluralForm, boolean proper, PropDiscreteness discreteness, CharacterGender gender)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KBTools

public KBTools()
Method Detail

registerSimpleAdjectival

public static void registerSimpleAdjectival(StoryInterpreter interpreter,
                                            PlannerRepository planners,
                                            TimelineID timeline,
                                            java.lang.String adjective,
                                            ConditionType condition,
                                            ConditionType supertype,
                                            NounFlavorSet allowedFlavors)
                                     throws Scheherexception
Throws:
Scheherexception

registerSimpleAdverb

public static void registerSimpleAdverb(StoryInterpreter interpreter,
                                        PlannerRepository planners,
                                        TimelineID timeline,
                                        java.lang.String adverb,
                                        ModifierType modifier,
                                        ModifierType supertype,
                                        ModifierGrammaticalType grammaticalType)
                                 throws Scheherexception
Throws:
Scheherexception

registerStandardPlannerNounType

public static void registerStandardPlannerNounType(StoryInterpreter interpreter,
                                                   PlannerRepository planners,
                                                   TimelineID timeline,
                                                   NounType noun,
                                                   NounType supertype,
                                                   java.lang.String menuName,
                                                   java.lang.String offset,
                                                   java.lang.String pluralForm,
                                                   boolean proper,
                                                   PropDiscreteness discreteness,
                                                   CharacterGender gender)
                                            throws Scheherexception
Throws:
Scheherexception

registerSimpleCharacterAdjective

public static void registerSimpleCharacterAdjective(StoryInterpreter interpreter,
                                                    PlannerRepository planners,
                                                    TimelineID timeline,
                                                    java.lang.String adjective,
                                                    ConditionType superCondition)
                                             throws Scheherexception
Throws:
Scheherexception

registerSimplePropCondition

public static void registerSimplePropCondition(StoryInterpreter interpreter,
                                               PlannerRepository planners,
                                               TimelineID timeline,
                                               ConditionType condition,
                                               ConditionType superCondition)
                                        throws Scheherexception
Throws:
Scheherexception

registerSimpleEmotionCondition

public static void registerSimpleEmotionCondition(StoryInterpreter interpreter,
                                                  PlannerRepository planners,
                                                  TimelineID timeline,
                                                  ConditionType condition,
                                                  ConditionType superCondition)
                                           throws Scheherexception
Throws:
Scheherexception

registerInterpersonalEmotionCondition

public static void registerInterpersonalEmotionCondition(StoryInterpreter interpreter,
                                                         PlannerRepository planners,
                                                         TimelineID timeline,
                                                         ConditionType condition,
                                                         ConditionType superCondition)
                                                  throws Scheherexception
Throws:
Scheherexception

registerCharacterRelationship

public static void registerCharacterRelationship(StoryInterpreter interpreter,
                                                 PlannerRepository planners,
                                                 TimelineID timeline,
                                                 ConditionType condition,
                                                 ConditionType superCondition,
                                                 boolean unique)
                                          throws Scheherexception
Throws:
Scheherexception

registerEmptyAction

public static void registerEmptyAction(StoryInterpreter interpreter,
                                       PlannerRepository planners,
                                       TimelineID timeline,
                                       ActionType action,
                                       WordNetOffset offset,
                                       ActionType superAction,
                                       java.lang.String presentSimple,
                                       java.lang.String pastSimple,
                                       java.lang.String infinitive,
                                       java.lang.String progressive)
                                throws Scheherexception
Throws:
Scheherexception

registerPropAction

public static void registerPropAction(StoryInterpreter interpreter,
                                      PlannerRepository planners,
                                      TimelineID timeline,
                                      ActionType action,
                                      WordNetOffset offset,
                                      ActionType superAction,
                                      java.lang.String presentSimple,
                                      java.lang.String pastSimple,
                                      java.lang.String infinitive,
                                      java.lang.String progressive)
                               throws Scheherexception
Throws:
Scheherexception

registerCharacterAction

public static void registerCharacterAction(StoryInterpreter interpreter,
                                           PlannerRepository planners,
                                           TimelineID timeline,
                                           ActionType action,
                                           WordNetOffset offset,
                                           ActionType superAction,
                                           java.lang.String presentSimple,
                                           java.lang.String pastSimple,
                                           java.lang.String infinitive,
                                           java.lang.String progressive)
                                    throws Scheherexception
Throws:
Scheherexception

registerCharacterCharacterAction

public static void registerCharacterCharacterAction(StoryInterpreter interpreter,
                                                    PlannerRepository planners,
                                                    TimelineID timeline,
                                                    ActionType action,
                                                    WordNetOffset offset,
                                                    ActionType superAction,
                                                    java.lang.String presentSimple,
                                                    java.lang.String pastSimple,
                                                    java.lang.String infinitive,
                                                    java.lang.String progressive)
                                             throws Scheherexception
Throws:
Scheherexception

registerCharacterPropAction

public static void registerCharacterPropAction(StoryInterpreter interpreter,
                                               PlannerRepository planners,
                                               TimelineID timeline,
                                               ActionType action,
                                               WordNetOffset offset,
                                               ActionType superAction,
                                               java.lang.String presentSimple,
                                               java.lang.String pastSimple,
                                               java.lang.String infinitive,
                                               java.lang.String progressive)
                                        throws Scheherexception
Throws:
Scheherexception


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