rankByNonMatchPossobject | parser.t[5947] |
Superclass Tree | Property Summary | Method Summary | Property Details | Method Details |
Rank by unmatched possessive-qualified phrases. If we have two unknown phrases, one with a possessive qualifier and one without, and other things being equal, prefer the one with the possessive qualifier.
We prefer the qualified version because it lets us report a smaller phrase that we can't match. For example, in X BOB'S WALLET, if we can't match WALLET all by itself, it's more useful to report that "you see no wallet" than to report that you see no "bob's wallet", because the latter incorrectly implies that there might still be a wallet in scope as long as it's not Bob's we're looking for.
rankByNonMatchPoss : CommandRankingCriterion
Superclass Tree (in declaration order)
rankByNonMatchPoss
CommandRankingCriterion
object
Summary of Properties
Summary of Methods
Properties
Methods
comparePass1 (a, b) OVERRIDDEN | parser.t[5953] |
ignore on pass 1 - this only counts if other factors are equal, so we want to consider all of the other factors on pass 1 before taking this criterion into account
comparePass2 (a, b) OVERRIDDEN | parser.t[5956] |
pass 2 - more possessives are better
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3
Generated on 5/16/2013 from TADS version 3.1.3