PossessivePronounAdjProdclass

parser.t[2621]

Superclass
Tree

Subclass
Tree

Global
Objects

Property
Summary

Method
Summary

Property
Details

Method
Details

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  

canBeAnaphor isPossessive

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

parser.t[2680]

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.

isPossessiveOVERRIDDEN

parser.t[2672]

this is a possessive usage of the pronoun

Methods  

checkAnaphorAgreement (lst)

parser.t[2691]

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

parser.t[2627]

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 ( )

parser.t[2697]

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