NPMatch class | parser.t[3280]

NPMatch is an object that describes one object matching a noun phrase.

`class NPMatch : object`

Superclass Tree (in declaration order)

`NPMatch`
`object`

Subclass Tree

(none)

Global Objects

(none)

Summary of Properties

`flags match name np obj score strength`

Summary of Methods

`construct`

Properties

`flags` | `parser.t[3335]`

the selection/disambiguation flags (SelXxx)

`match` | `parser.t[3329]`

the match flags - this is a combination of MatchXxx flags as returned from Mentionable.matchName()

`name` | `parser.t[3349]`

The name, for announcement purposes. This is filled in by the Command during execution. The Command figures the name so that it's distinguished from all of the other objects in the same noun role in the command.

`np` | `parser.t[3320]`

the NounPhrase we matched

`obj` | `parser.t[3323]`

the matching object

`score` | `parser.t[3341]`

Disambiguation score. This is a number assigned by the action in scoreObjects().

`strength` | `parser.t[3332]`

the match strength, for sorting the match list

Methods

`construct (np, obj, match)` | `parser.t[3281]`

no description available

Adv3Lite Library Reference Manual
Generated on 08/12/2025 from adv3Lite version 2.2.2