TentativeResolveResultsclass
“Tentative” noun resolver results gather. This type of results gatherer is used to perform a tentative pre-resolution of an object of a multi-object action.
Consider what happens when we resolve a two-object action, such as “put <dobj> in <iobj>”. Since we have two objects, we obviously must resolve one object or the other first; but this means that we must resolve one object with no knowledge of the resolution of the other object. This often makes it very difficult to resolve that first object intelligently, because we’d really like to know something about the other object. For example, if we first resolve the iobj of “put <dobj> in <iobj>”, it would be nice to know which dobj we’re talking about, since we could reduce the likelihood that the iobj is the dobj’s present container.
Tentative resolution addresses this need by giving us some information about a later-resolved object while resolving an earlier-resolved object, even though we obviously can’t have fully resolved the later-resolved object. In tentative resolution, we perform the resolution of the later-resolved object, completely in the dark about the earlier-resolved object(s), and come up with as much information as we can. The important thing about this stage of resolution is that we don’t ask any interactive questions and we don’t count anything for ranking purposes - we simply do the best we can and note the results, leaving any ranking or interaction for the true resolution phase that we’ll perform later.
class
TentativeResolveResults
:
ResolveResults
Superclass Tree (in declaration order)
TentativeResolveResults
ResolveResults
` object`
Subclass Tree
(none)
Global Objects
(none)
Summary of Properties
allowActionRemapping
allowEquivalentFiltering
npMissing
Summary of Methods
ambiguousNounPhrase
askMissingLiteral
askMissingObject
canResolveInteractively
construct
emptyNounPhrase
incCommandCount
insufficientQuantity
noMatch
noMatchForAll
noMatchForAllBut
noMatchForListBut
noMatchForLocation
noMatchForPossessive
noMatchForPronoun
noMatchPoss
noteActorSpecified
noteAdjEnding
noteBadPrep
noteEmptyBut
noteIndefinite
noteLiteral
noteMatches
noteMiscWordList
noteNounSlots
notePronoun
noteWeakPhrasing
nothingInLocation
noVocabMatch
reflexiveNotAllowed
uniqueObjectRequired
unknownNounPhrase
wrongReflexive
zeroQuantity
Properties
allowActionRemapping
no description available
allowEquivalentFiltering
during the tentative phase, keep all equivalents - we don’t want to make any arbitrary choices among equivalents during this phase, because doing so could improperly force a choice among otherwise ambiguous resolutions to the other phrase
npMissing
flag: the noun phrase we’re resolving is a missing noun phrase, which means that we’ll ask for it to be filled in when we get around to resolving it for real
Methods
ambiguousNounPhrase (keeper, asker, txt, matchList, fullMatchList, scopeList, requiredNum, resolver)
for ambiguous results, don’t attempt to narrow things down - just keep the entire list
askMissingLiteral (action, which)
no interaction is allowed, so return no tokens if we need to ask for a literal
askMissingObject (asker, resolver, responseProd)
no interaction is allowed, so return nothing if we need to ask for a missing object
canResolveInteractively ( )
no interaction is allowed during tentative resolution
construct (target, issuer)
no description available
emptyNounPhrase (resolver)
no description available
incCommandCount ( )
no description available
insufficientQuantity (txt, matchList, requiredNum)
no description available
noMatch (action, txt)
ignore most resolution problems, since this is only a tentative resolution pass
noMatchForAll ( )
no description available
noMatchForAllBut ( )
no description available
noMatchForListBut ( )
no description available
noMatchForLocation (loc, txt)
no description available
noMatchForPossessive (owner, txt)
no description available
noMatchForPronoun (typ, txt)
no description available
noMatchPoss (action, txt)
no description available
noteActorSpecified ( )
no description available
noteAdjEnding ( )
no description available
noteBadPrep ( )
no description available
noteEmptyBut ( )
no description available
noteIndefinite ( )
no description available
noteLiteral (txt)
no description available
noteMatches (matchList)
no description available
noteMiscWordList (txt)
no description available
noteNounSlots (cnt)
no description available
notePronoun ( )
no description available
noteWeakPhrasing (level)
no description available
nothingInLocation (loc)
no description available
noVocabMatch (action, txt)
no description available
reflexiveNotAllowed (typ, txt)
no description available
uniqueObjectRequired (txt, matchList)
no description available
unknownNounPhrase (match, resolver)
no description available
wrongReflexive (typ, txt)
no description available
zeroQuantity (txt)
no description available
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3