NPMatch class | parser.t[3272]

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[3327]`

the selection/disambiguation flags (SelXxx)

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

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

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

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[3312]`

the NounPhrase we matched

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

the matching object

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

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

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

the match strength, for sorting the match list

Methods

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

no description available

Adv3Lite Library Reference Manual
Generated on 13/06/2025 from adv3Lite version 2.2.1