The indexing scheme used here is built on the same principles as the one described in Section 6.1, based on mother-daughter matching. The main difference is the content of the indexing keys, which now include a third element. This set is used in a two-layer indexing method.
In path indexing, each mother
has its indexing scheme defined as:
. The pair
is the
positional index key and represents the position
in the
rule
of a matching daughter, while
is a vector
containing type values extracted from
. These vectors will be
referred to as path index vectors. For each pair of
mother-daughter that can unify, a different set of types is extracted.
When
is inserted in the chart as an edge, it is placed in the
entry associated with
as in the positional indexing
method, but its vector
accompanies
in the chart.
The positional index uses the daughter's position as the index key,
without any need for a function to compute the key during run-time.
Path indexing, however, uses a two-layer method. The first layer
consists of the positional key for daughters. The second layer uses
types extracted from the typed feature structure. For this, each
daughter is now associated with more than one index key. The set of a
daughter's index keys is:
,
where
is the rule number of a matching mother,
is
's
position, and
is the path index vector containing types
extracted from
. A daughter
has a different vector defined for
each mother
that can unify with
.