TIActionclass | action.t[3935], en_us.t[8600] |
Superclass Tree | Subclass Tree | Global Objects | Property Summary | Method Summary | Property Details | Method Details |
Modified in en_us.t[8600]:
English-specific additions for two-object verbs.
class
TIAction : TAction
TIAction
TAction
Action
BasicProd
object
Resolver
object
TIAction
AttachToAction
predicate(AttachTo)
predicate(AttachToWhat)
AttackWithAction
predicate(AttackWith)
BurnWithAction
predicate(BurnWith)
CleanWithAction
predicate(CleanWith)
CutWithAction
predicate(CutWith)
predicate(CutWithWhat)
DetachFromAction
predicate(DetachFrom)
DigWithAction
predicate(DigWith)
FastenToAction
predicate(FastenTo)
GiveToAction
predicate(GiveTo)
predicate(GiveToType2)
predicate(GiveToWhom)
LockWithAction
predicate(LockWith)
MoveToAction
predicate(MoveTo)
MoveWithAction
predicate(MoveWith)
PlugIntoAction
predicate(PlugInto)
predicate(PlugIntoWhat)
PourIntoAction
predicate(PourInto)
PourOntoAction
predicate(PourOnto)
PushTravelViaIobjAction
PushTravelClimbDownAction
predicate(PushTravelClimbDown)
PushTravelClimbUpAction
predicate(PushTravelClimbUp)
PushTravelEnterAction
predicate(PushTravelEnter)
PushTravelGetOutOfAction
predicate(PushTravelGetOutOf)
PushTravelThroughAction
predicate(PushTravelThrough)
PutBehindAction
predicate(PutBehind)
PutInAction
predicate(PutIn)
predicate(PutInWhat)
PutOnAction
predicate(PutOn)
PutUnderAction
predicate(PutUnder)
ScrewWithAction
predicate(ScrewWith)
ShowToAction
predicate(ShowTo)
predicate(ShowToType2)
predicate(ShowToWhom)
TakeFromAction
predicate(TakeFrom)
ThrowAtAction
predicate(ThrowAt)
ThrowToAction
predicate(ThrowTo)
predicate(ThrowToType2)
TurnWithAction
predicate(TurnWith)
UnfastenFromAction
predicate(UnfastenFrom)
UnlockWithAction
predicate(UnlockWith)
UnplugFromAction
predicate(UnplugFrom)
UnscrewWithAction
predicate(UnscrewWith)
actionIobjProp
askIobjResponseProd
checkIobjProp
execFirst
iobjCur_
iobjInfoCur_
iobjList_
iobjMatch
iobjResolver_
isPrepositionalPhrasing
lastObjList_
needAnaphoricBinding_
omitIobjInDobjQuery
preCondIobjProp
predicateNounPhrases
remapIobjProp
resolveFirst
resolveFirstEmpty
tentativeDobj_
tentativeIobj_
verIobjProp
Inherited from TAction
:
actionAllowsAll
actionDobjProp
actor_
askDobjResponseProd
checkDobjProp
dobjCur_
dobjInfoCur_
dobjList_
dobjMatch
dobjResolver_
issuer_
preCondDobjProp
remapDobjProp
verDobjProp
whichMessageObject
Inherited from Action
:
actionTime
afterActionMainList
beforeAfterObjs
defaultForRecursion
extraMessageParams
implicitMsg
includeInUndo
isImplicit
isRepeatable
iterationCanceled
originalAction
parentAction
preCond
pronounOverride
remappedFrom
showDefaultReports
synthParamID
verbFlags
verifiedOkay
Inherited from BasicProd
:
firstTokenIndex
isSpecialResponseMatch
lastTokenIndex
Inherited from Resolver
:
action_
equivs_
isGlobalScope
isSubResolver
scope_
whichObject
announceAllDefaultObjects
announceDefaultObject
canIobjResolveTo
checkAction
checkRemapping
copyTentativeObjs
createForMissingIobj
createIobjResolver
doActionMain
execAction
filterAmbiguousIobj
filterPluralIobj
getAllIobj
getAnaphoricBinding
getCurrentObjects
getDefaultIobj
getIobj
getIobjCount
getIobjFlags
getIobjInfo
getIobjResolver
getIobjTokens
getIobjWords
getMatchForRole
getMessageParam
getObjectForRole
getObjResponseProd
getOtherMessageObjectPronoun
getOtherObjectRole
getPreCondDescList
getPreCondPropForRole
getQuestionInf
getRemapPropForRole
getResolvedIobjList
getResolvedObjList
getResolveInfo
getRoleFromIndex
getTentativeDobj
getTentativeIobj
getVerbPhrase
getVerbPhrase2
getVerifyPropForRole
initForMissingDobj
initForMissingIobj
initTentative
needRemappedAnnouncement
resetAction
resolvedObjectsInScope
resolveNouns
retryWithAmbiguousIobj
retryWithMissingIobj
setCurrentObjects
setObjectMatches
setPronounByInput
setResolvedIobj
setResolvedObjects
testRetryDefaultIobj
verifyAction
whatObj
Inherited from TAction
:
adjustDefaultObjectPrep
canDobjResolveTo
construct
createDobjResolver
createForMissingDobj
createForRetry
filterAmbiguousDobj
filterPluralDobj
getAllDobj
getDefaultDobj
getDobj
getDobjCount
getDobjFlags
getDobjInfo
getDobjResolver
getDobjTokens
getDobjWords
getResolvedDobjList
getVerbPhrase1
initResolver
retryWithAmbiguousDobj
retryWithMissingDobj
setResolvedDobj
testRetryDefaultDobj
Inherited from Action
:
actionOfKind
addBeforeAfterObj
afterAction
afterActionMain
announceActionObject
beforeAction
beforeActionMain
cacheMultiObjectAnnouncements
callAfterActionMain
callCatchAllProp
callPreConditions
callVerifyPreCond
callVerifyProp
cancelIteration
checkPreConditions
combineRemappedVerifyResults
createActionFrom
createActionInstance
createTopicQualifierResolver
doAction
doActionOnce
filterAmbiguousWithVerify
filterFacets
filterPluralWithVerify
finishResolveList
getDefaultWithVerify
getEnteredVerbPhrase
getImplicitPhrase
getInfPhrase
getNotifyTable
getObjPreCondDescList
getObjPreConditions
getOriginalAction
getOrigTokenList
getParticiplePhrase
getPredicate
getPronounOverride
getRemappedFrom
getSimpleSynonymRemap
getSortedVerifyResults
isConversational
isNestedIn
isPartOf
isRemapped
makeResolveInfo
makeResolveInfoList
maybeAnnounceDefaultObject
maybeAnnounceImplicit
maybeAnnounceMultiObject
noMatch
notifyBeforeAfter
objListPronoun
preAnnounceActionObject
recalcSenseContext
repeatAction
resolveAction
runBeforeNotifiers
saveActionForAgain
setImplicit
setMessageParam
setMessageParams
setNested
setOriginalAction
setPronounOverride
setRemapped
spPrefix
spSuffix
synthMessageParam
verifyHandlersExist
whatTranslate
withVerifyResults
zeroActionTime
Inherited from BasicProd
:
canResolveTo
getOrigText
setOrigTokenList
Inherited from Resolver
:
allowAll
cacheScopeList
filterAll
filterAmbiguousEquivalents
filterAmbiguousNounPhrase
filterPluralPhrase
filterPossRank
getAction
getAll
getAllDefaults
getDefaultObject
getPossessiveResolver
getPronounDefault
getQualifierResolver
getRawPronounAntecedent
getReflexiveBinding
getScopeList
getTargetActor
matchName
objInScope
resetResolver
resolvePronounAntecedent
resolveUnknownNounPhrase
selectIndefinite
withGlobals
actionIobjProp | action.t[5174] |
askIobjResponseProd | action.t[4087] |
Note that language modules might want to override this to allow for special responses. For example, in English, most verbs will want to override this with a specialized production that allows the appropriate preposition in the response.
checkIobjProp | action.t[5173] |
execFirst | action.t[4126] |
iobjCur_ | action.t[5149] |
iobjInfoCur_ | action.t[5152] |
iobjList_ | action.t[5146] |
iobjMatch | action.t[5143] |
iobjResolver_ | action.t[5155] |
isPrepositionalPhrasing | en_us.t[8646] |
We use this in ranking verb matches. Non-prepositional verb structures are especially prone to matching where they shouldn't, because we can often find a way to pick out words to fill the slots in the absence of any marker words. For example, GIVE GREEN BOOK could be interpreted as GIVE BOOK TO GREEN, where GREEN is assumed to be an adjective-ending noun phrase; but the player probably means to give the green book to someone who they assumed would be filled in as a default. So, whenever we find an interpretation that involves a non-prespositional phrasing, we'll use this flag to know we should be suspicious of it and try alternative phrasing first.
Most two-object verbs in English use prepositional markers, so we'll set this as the default. Individual VerbRules that use purely structural phrasing should override this.
lastObjList_ | action.t[4500] |
needAnaphoricBinding_ | action.t[4508] |
omitIobjInDobjQuery | en_us.t[8616] |
However, the corresponding query for some verbs sounds weird: "what do you want to dig in with it?" or "whom do you want to ask about it?". For such actions, this property should be set to true to indicate that the indirect object should be omitted from the queries, which will change the phrasing to "what do you want to dig in", "whom do you want to ask", and so on.
preCondIobjProp | action.t[5172] |
predicateNounPhrases OVERRIDDEN | action.t[4322] |
remapIobjProp | action.t[5183] |
resolveFirst | action.t[4107] |
resolveFirstEmpty | action.t[4119] |
When both phrases are empty, we will either use a default or prompt interactively for the missing phrase. In most cases, it is desirable to prompt interactively for a missing direct object first, regardless of the usual resolution order.
tentativeDobj_ | action.t[5162] |
tentativeIobj_ | action.t[5163] |
verIobjProp | action.t[5171] |
announceAllDefaultObjects (allResolved) OVERRIDDEN | en_us.t[8767] |
announceDefaultObject (obj, whichObj, resolvedAllObjects) OVERRIDDEN | en_us.t[8711] |
canIobjResolveTo (obj) | action.t[4135] |
checkAction ( ) OVERRIDDEN | action.t[4976] |
For a two-object action, this first calls the catch-all 'check' methods (the dobjFor(Default) and dobjFor(All) methods) on the two objects (indirect object first), then calls the 'check' methods for this specific action (direct object first).
checkRemapping ( ) OVERRIDDEN | action.t[4935] |
copyTentativeObjs ( ) | action.t[5122] |
createForMissingIobj (orig, asker) | action.t[4010] |
createIobjResolver (issuingActor, targetActor) | action.t[4544] |
doActionMain ( ) OVERRIDDEN | action.t[4590] |
execAction ( ) OVERRIDDEN | action.t[5008] |
filterAmbiguousIobj (lst, requiredNum, np) | action.t[4560] |
filterPluralIobj (lst, np) | action.t[4569] |
getAllIobj (actor, scopeList) | action.t[4554] |
getAnaphoricBinding (typ) OVERRIDDEN | action.t[4476] |
getCurrentObjects ( ) OVERRIDDEN | action.t[5101] |
getDefaultIobj (np, resolver) | action.t[4577] |
getIobj ( ) | action.t[5072] |
getIobjCount ( ) | action.t[5081] |
getIobjFlags ( ) | action.t[5078] |
getIobjInfo ( ) | action.t[5075] |
getIobjResolver (issuingActor, targetActor, reset) | action.t[4526] |
getIobjTokens ( ) | action.t[5084] |
getIobjWords ( ) | action.t[5091] |
getMatchForRole (role) OVERRIDDEN | action.t[4388] |
getMessageParam (objName) OVERRIDDEN | action.t[5057] |
getObjectForRole (role) OVERRIDDEN | action.t[4335] |
getObjResponseProd (resolver) OVERRIDDEN | action.t[4090] |
getOtherMessageObjectPronoun (which) | en_us.t[8852] |
getOtherObjectRole (role) OVERRIDDEN | action.t[4381] |
getPreCondDescList ( ) OVERRIDDEN | action.t[5041] |
getPreCondPropForRole (role) OVERRIDDEN | action.t[4401] |
getQuestionInf (which) OVERRIDDEN | en_us.t[8777] |
getRemapPropForRole (role) OVERRIDDEN | action.t[4407] |
getResolvedIobjList ( ) | action.t[4420] |
getResolvedObjList (which) OVERRIDDEN | action.t[4413] |
getResolveInfo (obj, oldRole) OVERRIDDEN | action.t[4342] |
getRoleFromIndex (idx) OVERRIDDEN | action.t[4325] |
getTentativeDobj ( ) | action.t[5136] |
getTentativeIobj ( ) | action.t[5137] |
getVerbPhrase (inf, ctx) OVERRIDDEN | en_us.t[8883] |
getVerbPhrase2 (inf, vp, dobjText, dobjIsPronoun, iobjText) | en_us.t[8927] |
getVerifyPropForRole (role) OVERRIDDEN | action.t[4395] |
initForMissingDobj (orig) OVERRIDDEN | action.t[4040] |
If we're trying a TIAction, we can only be coming from a TAction (since that's the only kind of original action that can turn into a two-object, at least in the base library). That means the original action already has a direct object. Now, since we're asking for a MISSING direct object, the only possibility is that the original action's direct object is our INDIRECT object. For example: SWEEP WITH BROOM is turning into SWEEP <what> WITH BROOM.
initForMissingIobj (orig) | action.t[4063] |
We can only be coming from a TAction, so the TAction will have a direct object already. Simply copy that as our own direct object. For example: UNLOCK DOOR is turning into UNLOCK DOOR WITH <what>.
initTentative (issuingActor, targetActor, whichObj) OVERRIDDEN | action.t[4869] |
needRemappedAnnouncement (info) | action.t[4823] |
resetAction ( ) OVERRIDDEN | action.t[3936] |
resolvedObjectsInScope ( ) OVERRIDDEN | action.t[4511] |
resolveNouns (issuingActor, targetActor, results) OVERRIDDEN | action.t[4145], en_us.t[8649] |
retryWithAmbiguousIobj (orig, objs, asker, objPhrase) | action.t[3966] |
retryWithMissingIobj (orig, asker) | action.t[3955] |
This routine terminates with 'exit' if it doesn't throw some other error.
setCurrentObjects (lst) OVERRIDDEN | action.t[5107] |
setObjectMatches (dobj, iobj) OVERRIDDEN | action.t[4457] |
setPronounByInput (lst) | action.t[4766] |
setResolvedIobj (iobj) | action.t[4443] |
setResolvedObjects (dobj, iobj) OVERRIDDEN | action.t[4433] |
testRetryDefaultIobj (orig) | action.t[3989] |
verifyAction ( ) OVERRIDDEN | action.t[4837] |
whatObj (which) OVERRIDDEN | en_us.t[8685] |