Feature structure
|
In phrase structure grammars, such as generalised phrase structure grammar, head-driven phrase structure grammar and lexical functional grammar, a feature structure is essentially a list of property types with values. For example the property named number might have the value singular. The value of a property may be either atomic, e.g. the symbol singular, or may be a feature structure itself.
A feature structures is in fact a directed acyclic graph (DAG), with the nodes corresponding to the variable values and the paths to the variable names. Operations defined on feature structures, e.g. unification, are used extensively in phrase structure grammars.
Often, feature structures are written as attribute value matrices, like this:
<math>\begin{bmatrix} \mbox{category} & noun\ phrase\\ \mbox{agreement} & \begin{bmatrix} \mbox{number} & singular \\ \mbox{person} & third \end{bmatrix} \end{bmatrix}<math>
It is important to note that the term matrix might be misleading in this context. The feature structures are not matrices in the strict sense of the word. The term matrix in this context signified that the structure is written in a rectangualar area.