completeNounPhraseWithAll(main)grammar | en_us.t[5670] |
Superclass Tree | Property Summary | Method Summary | Property Details | Method Details |
"All" is a "complete" noun phrase, because there's nothing else needed to make it a noun phrase. We make this a special kind of complete noun phrase because 'all' is not acceptable as a complete noun phrase in some contexts where any of the other complete noun phrases are acceptable.
"All but" is a "terminal" noun phrase - this is a special kind of complete noun phrase that cannot be followed by another noun phrase with "and". "All but" is terminal because we want any and's that follow it to be part of the exception list, so that we interpret "take all but a and b" as excluding a and b, not as excluding a but then including b as a separate list.
grammar
completeNounPhraseWithAll(main) : EverythingProd
completeNounPhraseWithAll(main)
EverythingProd
BasicProd
object
Inherited from EverythingProd
:
filterForCollectives
Inherited from BasicProd
:
firstTokenIndex
isSpecialResponseMatch
lastTokenIndex
Inherited from EverythingProd
:
resolveNouns
Inherited from BasicProd
:
canResolveTo
getOrigText
getOrigTokenList
setOrigTokenList
(none)