NounPhraseProdclassparser.t[1205]

Basic noun phrase production class.

class NounPhraseProd :   BasicProd

Superclass Tree   (in declaration order)

NounPhraseProd
        BasicProd
                object

Subclass Tree  

NounPhraseProd
        ButProd
                EverythingButProd
                        terminalNounPhrase(allBut)
                IndefiniteNounButProd
                        terminalNounPhrase(anyBut)
                ListButProd
                        terminalNounPhrase(pluralExcept)
        completeNounPhrase(miscPrep)
        DefiniteNounProd
                BasicPossessiveProd
                        ButPossessiveProd
                                exceptNounPhrase(singlePossessive)
                        DisambigPossessiveProd
                                disambigListItem(possessive)
                        PossessiveNounProd
                                qualifiedSingularNounPhrase(possessive)
                        PossessivePluralProd
                                explicitDetPluralNounPhrase(possessive)
                                explicitDetPluralOnlyNounPhrase(possessive)
                ContainerNounPhraseProd
                        indetPluralNounPhrase(locational)
                        indetPluralOnlyNounPhrase(locational)
                        indetSingularNounPhrase(locational)
                PreResolvedAmbigProd
                qualifiedSingularNounPhrase(definite)
                VagueContainerNounPhraseProd
                        AllInContainerNounPhraseProd
                                qualifiedPluralNounPhrase(theOnesIn)
                        VagueContainerDefiniteNounPhraseProd
                                qualifiedSingularNounPhrase(theOneIn)
                        VagueContainerIndefiniteNounPhraseProd
                                qualifiedSingularNounPhrase(anyOneIn)
        EmptyNounPhraseProd
                ImpliedActorNounPhraseProd
                nounList(empty)
                singleNoun(empty)
        IndefiniteNounProd
                ArbitraryNounProd
                        qualifiedSingularNounPhrase(anyPlural)
                        qualifiedSingularNounPhrase(arbitrary)
                qualifiedSingularNounPhrase(indefinite)
        LayeredNounPhraseProd
                completeNounPhrase(main)
                completeNounPhraseWithoutAll(qualified)
                detPluralNounPhrase(main)
                detPluralOnlyNounPhrase(main)
                indetPluralNounPhrase(basic)
                indetPluralOnlyNounPhrase(basic)
                indetSingularNounPhrase(basic)
                nounPhrase(main)
                pluralPhrase(main)
                possessiveAdjPhrase(npApostropheS)
                possessiveAdjPhrase(ppApostropheS)
                possessiveNounPhrase(npApostropheS)
                qualifiedNounPhrase(main)
                qualifiedPluralNounPhrase(determiner)
                singleNoun(normal)
        NounPhraseWithVocab
                adjPhrase(adjAdj)
                AdjPhraseWithVocab
                        adjPhrase(adj)
                        adjWord(adj)
                        adjWord(adjAbbr)
                        adjWord(adjApostS)
                        literalAdjPhrase(literalAdj)
                        literalAdjPhrase(number)
                        literalAdjPhrase(string)
                compoundNounPhrase(of)
                compoundNounPhrase(simple)
                compoundPluralPhrase(of)
                compoundPluralPhrase(simple)
                miscWordList(list)
                miscWordList(wordOrNumber)
                NounWordProd
                        nounWord(noun)
                        nounWord(nounAbbr)
                simpleNounPhrase(adj)
                simpleNounPhrase(adjAndOne)
                simpleNounPhrase(adjNP)
                simpleNounPhrase(empty)
                simpleNounPhrase(misc)
                simpleNounPhrase(noun)
                simpleNounPhrase(nounAndNumber)
                simpleNounPhrase(number)
                simpleNounPhrase(numberAndNoun)
                simplePluralPhrase(adjAndOnes)
                simplePluralPhrase(empty)
                simplePluralPhrase(misc)
                simplePluralPhrase(plural)
                simplePluralPhrase(poundNum)
        PluralProd
                AllPluralProd
                        explicitDetPluralOnlyNounPhrase(definite)
                        qualifiedPluralNounPhrase(all)
                DefinitePluralProd
                        explicitDetPluralNounPhrase(definite)
                        implicitDetPluralOnlyNounPhrase(main)
                QuantifiedPluralProd
                        ExactQuantifiedPluralProd
                                BothPluralProd
                                        qualifiedPluralNounPhrase(both)
                                explicitDetPluralNounPhrase(definiteNumber)
                                explicitDetPluralOnlyNounPhrase(definiteNumber)
                                qualifiedPluralNounPhrase(allNum)
                        qualifiedPluralNounPhrase(anyNum)
        PronounProd
                HerProd
                        completeNounPhraseWithoutAll(her)
                HimProd
                        completeNounPhraseWithoutAll(him)
                ItProd
                        completeNounPhraseWithoutAll(it)
                MeProd
                        completeNounPhraseWithoutAll(me)
                PossessivePronounAdjProd
                        HerAdjProd
                                possessiveAdjPhrase(her)
                        HisAdjProd
                                possessiveAdjPhrase(his)
                        ItsAdjProd
                                possessiveAdjPhrase(its)
                        MyAdjProd
                                possessiveAdjPhrase(my)
                        TheirAdjProd
                                possessiveAdjPhrase(their)
                        YourAdjProd
                                possessiveAdjPhrase(your)
                PossessivePronounNounProd
                        HersNounProd
                                possessiveNounPhrase(hers)
                        HisNounProd
                                possessiveNounPhrase(his)
                        ItsNounProd
                                possessiveNounPhrase(its)
                        MineNounProd
                                possessiveNounPhrase(mine)
                        TheirsNounProd
                                possessiveNounPhrase(theirs)
                        YoursNounProd
                                possessiveNounPhrase(yours)
                ReflexivePronounProd
                        HerselfProd
                                completeNounPhraseWithoutAll(herself)
                        HimselfProd
                                completeNounPhraseWithoutAll(himself)
                        ItselfProd
                                completeNounPhraseWithoutAll(itself)
                        ThemselvesProd
                                completeNounPhraseWithoutAll(themselves)
                ThemProd
                        completeNounPhraseWithoutAll(them)
                YouProd
                        completeNounPhraseWithoutAll(yourself)
        SingleNounProd
                PrepSingleNounProd
                        atSingleNoun(main)
                        forSingleNoun(main)
                        fromSingleNoun(main)
                        inSingleNoun(main)
                        onSingleNoun(main)
                        outOfSingleNoun(main)
                        throughSingleNoun(main)
                        toSingleNoun(main)
                        withSingleNoun(main)
                singleNounOnly(main)
                TopicProd
                        EmptyTopicPhraseProd
                        PrepSingleTopicProd
                                aboutTopicPhrase(main)
                        topicPhrase(main)
                        topicPhrase(misc)
        SingleNounWithListProd
                singleNoun(multiple)

Global Objects  

(none)

Summary of Properties  

filterForCollectives 

Inherited from BasicProd :
firstTokenIndex  isSpecialResponseMatch  lastTokenIndex 

Summary of Methods  

filterTruncations  getVerifyKeepers 

Inherited from BasicProd :
canResolveTo  getOrigText  getOrigTokenList  setOrigTokenList 

Properties  

filterForCollectivesparser.t[1213]

Determine whether this kind of noun phrase prefers to keep a collective or the collective's individuals when filtering. If this is true, we'll keep a collective and discard its individuals when filtering a resolution list; otherwise, we'll drop the collective and keep the individuals.

Methods  

filterTruncations (lst, resolver)parser.t[1248]

Filter a match list of results for truncated matches. If we have a mix of truncated matches and exact matches, we'll keep only the exact matches. If we have only truncated matches, though, we'll return the list unchanged, as we don't have a better offer going.

getVerifyKeepers (results)parser.t[1227]
Filter a "verify" result list for the results we'd like to keep in the final resolution of the noun phrase. This is called after we've run through the verification process on the list of candidate matches, so 'lst' is a list of ResolveInfo objects, sorted in descending order of logicalness.

By default, we keep only the items that are equally as logical as the best item in the results. Since the items are sorted in descending order of goodness, the best item is always the first item.

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3