<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sarg.dev/index.php?action=history&amp;feed=atom&amp;title=Feature_structure</id>
	<title>Feature structure - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sarg.dev/index.php?action=history&amp;feed=atom&amp;title=Feature_structure"/>
	<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php?title=Feature_structure&amp;action=history"/>
	<updated>2026-04-18T03:54:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.sarg.dev/index.php?title=Feature_structure&amp;diff=421096&amp;oldid=prev</id>
		<title>imported&gt;Arademaker: fix link</title>
		<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php?title=Feature_structure&amp;diff=421096&amp;oldid=prev"/>
		<updated>2022-03-05T14:41:08Z</updated>

		<summary type="html">&lt;p&gt;fix link&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In [[phrase structure grammar]]s, such as [[generalised phrase structure grammar]], [[head-driven phrase structure grammar]] and [[lexical functional grammar]], a &amp;#039;&amp;#039;&amp;#039;feature structure&amp;#039;&amp;#039;&amp;#039; is essentially a set of [[attribute–value pair]]s. For example, the attribute named &amp;#039;&amp;#039;number&amp;#039;&amp;#039; might have the value &amp;#039;&amp;#039;singular&amp;#039;&amp;#039;. The value of an attribute may be either [[Lisp atom|atomic]], e.g. the symbol &amp;#039;&amp;#039;singular&amp;#039;&amp;#039;, or complex (most commonly a feature structure, but also a list or a set).&lt;br /&gt;
&lt;br /&gt;
A feature structure can be represented as 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_(computer_science)|unification]], are used extensively in phrase structure grammars. In most theories (e.g. [[HPSG]]), operations are strictly speaking defined over equations describing feature structures and not over feature structures themselves, though feature structures are usually used in informal exposition.&lt;br /&gt;
&lt;br /&gt;
Often, feature structures are written like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{bmatrix} \mbox{category} &amp;amp; noun\ phrase\\ \mbox{agreement} &amp;amp; \begin{bmatrix} \mbox{number} &amp;amp; singular \\ \mbox{person} &amp;amp; third \end{bmatrix} \end{bmatrix}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here there are the two features &amp;#039;&amp;#039;category&amp;#039;&amp;#039; and &amp;#039;&amp;#039;agreement&amp;#039;&amp;#039;. &amp;#039;&amp;#039;Category&amp;#039;&amp;#039; has the value &amp;#039;&amp;#039;noun phrase&amp;#039;&amp;#039; whereas the value of &amp;#039;&amp;#039;agreement&amp;#039;&amp;#039; is indicated by another feature structure with the features &amp;#039;&amp;#039;number&amp;#039;&amp;#039; and &amp;#039;&amp;#039;person&amp;#039;&amp;#039; being &amp;#039;&amp;#039;singular&amp;#039;&amp;#039; and &amp;#039;&amp;#039;third&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
This particular notation is called  &amp;#039;&amp;#039;attribute value matrix&amp;#039;&amp;#039; (AVM).&lt;br /&gt;
&lt;br /&gt;
The [[matrix (mathematics)|matrix]] has two columns, one for the feature names and the other for the values. In this sense a feature structure is a list of key-value pairs. The value might be atomic or another feature structure.  This leads to another notation for feature structures: the use of [[Tree (data structure)|tree]]s. In fact, some systems (such as [[PATR-II]]) use [[S-expression]]s to represent feature structures.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
*[http://cs.union.edu/~striegnk/courses/nlp-with-prolog/html/node79.html Feature Structures] section of an online [[Prolog]] course&lt;br /&gt;
*[http://www.tei-c.org/release/doc/tei-p5-doc/en/html/FS.html Feature Structures] in Text Encoding for Interchange ([[Text Encoding Initiative|TEI]])&lt;br /&gt;
&lt;br /&gt;
[[Category:Grammar]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Arademaker</name></author>
	</entry>
</feed>