ConvTopicResolverclass
A topic resolver specialized for conversational actions (ASK ABOUT, TELL ABOUT, etc). When we resolve the topic, we’ll differentiate the resolution to differentiate based on the knowledge of the actor who’s performing the command.
class
ConvTopicResolver
:
TopicResolver
Superclass Tree (in declaration order)
ConvTopicResolver
TopicResolver
Resolver
` object`
Subclass Tree
(none)
Global Objects
(none)
Summary of Properties
Inherited from TopicResolver
:
isGlobalScope
qualifierResolver_
topicProd
Inherited from Resolver
:
action_
actor_
equivs_
isSubResolver
issuer_
scope_
whichMessageObject
whichObject
Summary of Methods
Inherited from TopicResolver
:
construct
filterAmbiguousNounPhrase
filterPluralPhrase
filterPossRank
getAll
getAllDefaults
getDefaultObject
getPossessiveResolver
getQualifierResolver
noMatch
noMatchPoss
noVocabMatch
objInPhysicalScope
objInScope
packageTopicList
resetResolver
resolveUnknownNounPhrase
Inherited from Resolver
:
allowAll
cacheScopeList
filterAll
filterAmbiguousEquivalents
getAction
getPronounDefault
getRawPronounAntecedent
getReflexiveBinding
getScopeList
getTargetActor
matchName
resolvePronounAntecedent
selectIndefinite
withGlobals
Properties
(none)
Methods
objInConvScope (obj)
Determine if an object is in “conversational” scope - this returns true if the object is in physical scope or it’s known to the actor performing the command.
resolveTopic (lst, requiredNum, np)
OVERRIDDEN
Resolve the topic phrase. We’ll break up the vocabulary matches into three sublists: the objects that are either in physical scope or known to the actor performing the command; objects that the actor considers likely topics; and everything else.
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3