Characteristic admittance: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Glrx
replace z with x
 
en>Monkbot
 
Line 1: Line 1:
I am 30 years old and my name is Alice Cupp. I life in Concord (United States).<br><br>Take a look at my website; [http://v7.wazeo.de/index.php?mod=users&action=view&id=94084 Popular mountain bike sizing.]
Literal movement grammars (LMGs) are a grammar formalism introduced by Groenink in 1995<ref name="groenink1995">Groenink, Annius V. 1995. Literal Movement Grammars. In ''Proceedings of the 7th EACL Conference''.</ref> intended to characterize certain extraposition phenomena of natural language such as topicalization and cross-serial dependencies. LMGs extend the class of [[Context free grammar|CFGs]] by adding introducing pattern-matched function-like rewrite semantics, as well as the operations of variable binding and slash deletion.
 
==Description==
 
The basic rewrite operation of an LMG is very similar to that of a CFG, with the addition of "arguments" to the non-terminal symbols. Where a context-free rewrite rule obeys the general schema <math>S \to \alpha</math> for some non-terminal <math>S</math> and some string of terminals and/or non-terminals <math>\alpha</math>, an LMG rewrite rule obeys the general schema <math>X(x_1, ..., x_n) \to \alpha</math>, where X is a non-terminal with arity n (called a predicate in LMG terminology), and <math>\alpha</math> is a string of "items", as defined below. The arguments <math>x_i</math> are strings of terminal symbols and/or variable symbols defining an argument pattern. In the case where an argument pattern has multiple adjacent variable symbols, the argument pattern will match any and all partitions of the actual value that unify. Thus, if the predicate is <math>f(xy)</math> and the actual pattern is <math>f(ab)</math>, there are three valid matches: <math>x = \epsilon,\ y = ab;\ x = a,\ y = b;\ x = ab,\ y = \epsilon</math>. In this way, a single rule is actually a family of alternatives.
 
An "item" in a literal movement grammar is one of
 
* <math>f(x_1, \ldots, x_n)</math>, a predicate of arity n,
* <math>x \text{:}f(x_1, \ldots, x_n)</math>, a variable binding x to the string produced by <math>f(x_1, ..., x_n)</math>, or
* <math>f(x_1, \ldots, x_n)/\alpha</math>, a slash deletion of <math>f(x_1, ..., x_n)</math> by the string of terminals and/or variables <math>\alpha</math>.
 
In a rule like <math>f(x_1, ..., x_m) \to \alpha\ y \text{:} g(z_1, ... z_n)\ \beta</math>, the variable y is bound to whatever terminal string the g predicate produces, and in <math>\alpha</math> and <math>\beta</math>, all occurrences of y are replaced by that string, and <math>\alpha</math> and <math>\beta</math> are produced as if terminal string had always been there.
 
An item <math>x/y</math>, where x is something that produces a terminal string (either a terminal string itself or some predicate), and y is a string of terminals and/or variables, is rewritten as the empty string (<math>\epsilon</math>) if and only if <math>g(y_1, ..., y_n) = z</math>, and otherwise cannot be rewritten at all.
 
==Example==
 
LMGs can characterize the non-CF language <math>\{ a^n b^n c^n : n \geq 1 \}</math> as follows:
 
:<math>S() \to x\text{:}A()\ B(x)</math>
:<math>A() \to a\ A()</math>
:<math>A() \to \epsilon</math>
:<math>B(xy) \to a/x\ b\ B(y) c</math>
:<math>B(\epsilon) \to \epsilon</math>
 
The derivation for ''aabbcc'', using parentheses also for grouping, is therefore
 
<math>S() \to x\text{:}A()\ B(x) \to x\text{:}(a\ A())\ B(x) \to x\text{:}(aa\ A())\ B(x) \to x\text{:}aa\ B(x) \to aa\ B(aa)</math>
: <math>\to aa\ a/a\ b\ B(a)\ c \to aab\ B(a)\ c \to aab\ a/a\ b\ B()\ cc \to aabb\ B()\ cc\ \to aabbcc</math>
 
==Computational Power==
 
Languages generated by LMGs contain the context-free languages as a proper subset, as every CFG is an LMG where all predicates have arity 0 and no production rule contains variable bindings or slash deletions.
 
==References==
 
<references/>
 
{{Formal languages and grammars}}
 
[[Category:Formal languages]]
[[Category:Grammar frameworks]]

Latest revision as of 10:51, 3 February 2014

Literal movement grammars (LMGs) are a grammar formalism introduced by Groenink in 1995[1] intended to characterize certain extraposition phenomena of natural language such as topicalization and cross-serial dependencies. LMGs extend the class of CFGs by adding introducing pattern-matched function-like rewrite semantics, as well as the operations of variable binding and slash deletion.

Description

The basic rewrite operation of an LMG is very similar to that of a CFG, with the addition of "arguments" to the non-terminal symbols. Where a context-free rewrite rule obeys the general schema Sα for some non-terminal S and some string of terminals and/or non-terminals α, an LMG rewrite rule obeys the general schema X(x1,...,xn)α, where X is a non-terminal with arity n (called a predicate in LMG terminology), and α is a string of "items", as defined below. The arguments xi are strings of terminal symbols and/or variable symbols defining an argument pattern. In the case where an argument pattern has multiple adjacent variable symbols, the argument pattern will match any and all partitions of the actual value that unify. Thus, if the predicate is f(xy) and the actual pattern is f(ab), there are three valid matches: x=ϵ,y=ab;x=a,y=b;x=ab,y=ϵ. In this way, a single rule is actually a family of alternatives.

An "item" in a literal movement grammar is one of

In a rule like f(x1,...,xm)αy:g(z1,...zn)β, the variable y is bound to whatever terminal string the g predicate produces, and in α and β, all occurrences of y are replaced by that string, and α and β are produced as if terminal string had always been there.

An item x/y, where x is something that produces a terminal string (either a terminal string itself or some predicate), and y is a string of terminals and/or variables, is rewritten as the empty string (ϵ) if and only if g(y1,...,yn)=z, and otherwise cannot be rewritten at all.

Example

LMGs can characterize the non-CF language {anbncn:n1} as follows:

S()x:A()B(x)
A()aA()
A()ϵ
B(xy)a/xbB(y)c
B(ϵ)ϵ

The derivation for aabbcc, using parentheses also for grouping, is therefore

S()x:A()B(x)x:(aA())B(x)x:(aaA())B(x)x:aaB(x)aaB(aa)

aaa/abB(a)caabB(a)caaba/abB()ccaabbB()ccaabbcc

Computational Power

Languages generated by LMGs contain the context-free languages as a proper subset, as every CFG is an LMG where all predicates have arity 0 and no production rule contains variable bindings or slash deletions.

References

  1. Groenink, Annius V. 1995. Literal Movement Grammars. In Proceedings of the 7th EACL Conference.

Other Sports Official Alfonzo from Chase, has hobbies and interests for instance fast, property developers in new industrial launch singapore and aquariums. In recent times has visited Monasteries of Haghpat and Sanahin.