Next: Example
Up: Typed Feature Structures
Previous: Type Hierarchies
Contents
Typed Feature Structure Definition
For a given type hierarchy
, and a
finite set of features
, a typed feature structure can be
defined as a rooted graph, where arcs are labeled with feature names
and nodes are being labeled with types (feature values)
[Carpenter1992,Penn2000]:
Definition 2.5
A typed feature structure over Type and Feat is a tuple
where:
is a finite set of nodes,
-
is the root node,
-
is a total node typing function,
-
is a partial feature value
function
such that
,
a finite sequence of features
that connects
to
with
:
.
The feature value function can be extended to paths. A path is a
sequence of features [Carpenter1992,Penn2000], and the feature
value function
applied to a path
and a node
gives
the node reached by following
from
.
Definition 2.6
Given the set of all features
, a path is a finite sequence of
features,
.
The set of all paths will be referred to as
.
Definition 2.7
Given a typed feature structure
, its (partial) path value function is
such that:
-
,
-
.
Definition 2.8
Given a typed feature structure
, if
, then the restriction
of
to
is
where:
Definition 2.9
In a typed feature structure with the root
and the
feature value function
, the node
is the ancestor of a
node
iff
such that
and
.
Subsections
Next: Example
Up: Typed Feature Structures
Previous: Type Hierarchies
Contents