NPMatchclass | parser.t[3201]

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

the selection/disambiguation flags (SelXxx)

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

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

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

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

the NounPhrase we matched

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

the matching object

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

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

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

the match strength, for sorting the match list

Methods

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

no description available

Adv3Lite Library Reference Manual
Generated on 12/12/2022 from adv3Lite version 1.6