LocationPrepProductionclass
A LocationPrepProduction is a special Production type for phrases that encode the preposition of a locational phrase. This is only needed in languages that use prepositional grammar to express location relationships. For languages that use noun case inflection, the relationship will have to be inferred from the case grammar of the noun phrase (such as noun affixes or articles), and the noun phrase production will have to set the locType in the LocationalProduction.
Set the locType property to the LocType object corresponding to the location relationship of the preposition.
class
LocationPrepProduction
:
Production
Superclass Tree (in declaration order)
LocationPrepProduction
Production
` object`
Subclass Tree
LocationPrepProduction
locationPrep(from)
locationPrep(in)
locationPrep(on)
Global Objects
(none)
Summary of Properties
Inherited from Production
:
determiner
nounPhraseRole
npClass
parent
Summary of Methods
Inherited from Production
:
addNounListItem
findAction
findChild
findParent
getNounPhraseRole
getText
getTokens
grammarInfoForBuild
isChildOf
noteEndOfSentence
visitLiteral
visitProd
Properties
locType
our location relationship type, as a LocType object
Methods
build (cmd, np)
OVERRIDDEN
on building the production, set the locType in our LocationalProduction parent
Adv3Lite Library Reference Manual
Generated on 15/03/2023 from adv3Lite version 1.6.1