PossessivePronounAdjProdclass
Possessive adjectives
class
PossessivePronounAdjProd
:
PronounProd
Superclass Tree (in declaration order)
PossessivePronounAdjProd
PronounProd
NounPhraseProd
BasicProd
` object`
Subclass Tree
PossessivePronounAdjProd
HerAdjProd
possessiveAdjPhrase(her)
HisAdjProd
possessiveAdjPhrase(his)
ItsAdjProd
possessiveAdjPhrase(its)
MyAdjProd
possessiveAdjPhrase(my)
TheirAdjProd
possessiveAdjPhrase(their)
YourAdjProd
possessiveAdjPhrase(your)
Global Objects
(none)
Summary of Properties
Inherited from PronounProd
:
isPlural
pronounType
Inherited from NounPhraseProd
:
filterForCollectives
Inherited from BasicProd
:
firstTokenIndex
isSpecialResponseMatch
lastTokenIndex
Summary of Methods
checkAnaphorAgreement
checkAnaphoricBinding
getOrigMainText
Inherited from PronounProd
:
resolveNouns
Inherited from NounPhraseProd
:
filterTruncations
getVerifyKeepers
Inherited from BasicProd
:
canResolveTo
getOrigText
getOrigTokenList
setOrigTokenList
Properties
canBeAnaphor
Can we be an anaphor? By default, we consider third-person possessive pronouns to be anaphoric, and others to be non-anaphoric. For example, in GIVE BOB MY BOOK, MY always refers to the speaker, so it’s clearly not anaphoric within the sentence.
isPossessive
OVERRIDDEN
this is a possessive usage of the pronoun
Methods
checkAnaphorAgreement (lst)
Check agreement to a given anaphoric pronoun binding. The language module should override this for each pronoun type to ensure that the actual contents of the list agree in number and gender with this type of pronoun. If so, return true; if not, return nil. It’s not an error or a ranking demerit if we don’t agree; it just means that we’ll fall back on the regular pronoun antecedent rather than trying to use an anaphoric binding.
checkAnaphoricBinding (resolver, results)
OVERRIDDEN
Possessive pronouns can refer to the earlier noun phrases of the same predicate, which is to say that they’re anaphoric. For example, in GIVE BOB HIS BOOK, ‘his’ refers to Bob.
getOrigMainText ( )
By default, the “main text” of a possessive pronoun is the same as the actual token text. Languages can override this as needed>
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3