PKDDialogue.NLG Class
Access:
Public
Base Classes:
Object
Members
Description
tts
semanticAnalyzer
bigrams
chatBot
conversationProfileManager
currentDialogueList
masterDialogueList
currentPontificationList
masterPontificationList
currentStoryList
masterStoryList
pontificationMarkers
storyMarkers
positiveBag
negativeBag
positiveVector
negativeVector
extremeThreshold
mildThreshold
percentRegex
commaRegex
pushRegex
microphoneDevice
sequentialChatterbotTurns
totalChatterbotTurns
lastResponse
lastInput
documentCollectionPause
The pause between document collection elements. A comma works well here
lsaFile
dialogueFile
bigramsFile
pontificationFile
random
debug
useStories
NLG
TurnToTurnMeasures
Used to find some of the cohesion metrics. a hack that should not be used at runtime
InsertPause
Inserts a SAPI4 style pause used by the Babel TTS
InsertBookmark
Inserts a SAPI4 style bookmark used by the Babel TTS
DoTTSMarkup
DoTTSMarkup
GetSingleSemanticAnimation
Given a string of text, finds an animation that matches it
GetSingleENDSemanticAnimation
GetSingleSemanticAnimation
DoBatchTTSMarkup
GenerateParagraphs
GenerateSentence
GenerateChatterbotResponse
ExtendResponse
Check and see if the response is a fragment. If so, extend it
GenerateResponse
ResetDialogue
InitiateConversation
Fake a user input by looking up their conversation profile and choosing an initiator randomly from that.
GreetCurrentProfile
ThankRecentProfiles
DeleteLastResponse
If a pkd response sucks, we can remove it from the dialogue list structure so it won't be considered in the future. The list must be saved back to file for the change to be permanent.
Test
ParameterFinding
ReadInStories
GetRandomStory
GetStory
ReadInPontifications
GetRandomPontification
GetPontification