MissingObjectRanking class | parser.t[4730]

Missing-object response ranker.

`class MissingObjectRanking : CommandRanking`

Superclass Tree (in declaration order)

`MissingObjectRanking`
`CommandRanking`
`ResolveResults`
`object`

Subclass Tree

(none)

Global Objects

(none)

Summary of Properties

`nounSlotCount`

Inherited from `CommandRanking` :
`actorSpecifiedCount allExcludedCount allowActionRemapping ambigCount commandCount emptyButCount endAdjCount indefiniteCount inSingleObjSlot insufficientCount inTopicSlot listForSingle literalLength match miscWordListCount missingCount nonMatchCount nonMatchPossCount pluralTruncCount pronounCount rankingCriteria tokCount truncCount unknownWordCount unwantedPluralCount vocabNonMatchCount weaknessLevel`

``

Summary of Methods

``

Inherited from `CommandRanking` :
`allNotAllowed ambiguousNounPhrase askMissingObject beginSingleObjSlot beginTopicSlot calcRanking compareRanking construct emptyNounPhrase endSingleObjSlot endTopicSlot getImpliedObject incCommandCount insufficientQuantity noMatch noMatchForAll noMatchForAllBut noMatchForListBut noMatchForLocation noMatchForPossessive noMatchForPronoun noMatchPossessive noteActorSpecified noteAdjEnding noteBadPrep noteEmptyBut noteIndefinite noteLiteral noteMatches noteMiscWordList noteNounSlots notePlural notePronoun noteWeakPhrasing nothingInLocation noVocabMatch reflexiveNotAllowed singleObjectRequired sortByRanking uniqueObjectRequired unknownNounPhrase wrongReflexive zeroQuantity`

``

Properties

`nounSlotCount` OVERRIDDEN | `parser.t[4736]`

missing-object responses have no verb, so they won't count any noun slots; we just need to give these an arbitrary value so that we can compare them (and find them equal)

Methods

(none)

TADS 3 Library Manual
Generated on 8/21/2012 from TADS version 3.1.2