NPMatchclass | parser.t[3209]

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

the selection/disambiguation flags (SelXxx)

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

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

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

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

the NounPhrase we matched

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

the matching object

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

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

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

the match strength, for sorting the match list

Methods

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

no description available

Adv3Lite Library Reference Manual
Generated on 01/03/2024 from adv3Lite version 1.6.2