QuantifierProductionclass | parser.t[4469] |
Superclass Tree | Subclass Tree | Global Objects | Property Summary | Method Summary | Property Details | Method Details |
Each grammar rule of this type needs to define a special '->quant_' association in its template, giving the quantity phrase production. This phrase must in turn provide a 'numval' property giving its numeric value.
Alternatively, this production can itself simply provide a 'numval' property with the correct number. This is convenient for adjective-like qualifier phrases that imply a number without stating one directly, such as BOTH BOOKS.
class
QuantifierProduction : Production
QuantifierProduction
Production
object
QuantifierProduction
disambigPhrase(both)
explicitDetPluralNounPhrase(definiteNumber)
explicitDetPluralNounPhrase(possessiveNumber)
explicitDetPluralNounPhrase(possessiveNumber2)
explicitDetPluralOnlyNounPhrase(definiteNumber)
explicitDetPluralOnlyNounPhrase(possessiveNumber)
explicitDetPluralOnlyNounPhrase(possessiveNumber2)
qualifiedPluralNounPhrase(allNum)
qualifiedPluralNounPhrase(anyNum)
qualifiedPluralNounPhrase(both)
qualifiedPluralNounPhrase(definiteNum)
Inherited from Production
:
determiner
nounPhraseRole
npClass
parent
Inherited from Production
:
addNounListItem
findAction
findChild
findParent
getNounPhraseRole
getText
getTokens
grammarInfoForBuild
isChildOf
noteEndOfSentence
visitLiteral
build (cmd, np) OVERRIDDEN | parser.t[4476] |
visitProd (cmd, np, prod) OVERRIDDEN | parser.t[4496] |