<?xml version="1.0"?><!DOCTYPE article SYSTEM "/project/take/software/searchbench_offline_processing/paperxml_generator/aclextractor/src/python/../resource/dtd/paperxml.dtd"><article><header><firstpageheader><page local="1" global="640"/><title>Linear Transduction Grammars and Zipper Finite-State Transducers</title><pubinfo>Proceedings of Recent Advances in Natural Language Processing,pages 640-647, Hissar, Bulgaria, 12-14 September 2011.</pubinfo><author surname="Saers" givenname="Markus"><org  name="University of Science and Technology" country="Hong Kong" city="Clear Water Bay"/></author><author surname="Wu" givenname="Dekai"><org  name="University of Science and Technology" country="Hong Kong" city="Clear Water Bay"/></author></firstpageheader><frontmatter><p><b>Linear Transduction Grammars and Zipper Finite-State Transducers</b></p><p><b>Markus Saers </b>and <b>Dekai Wu</b></p><p>Human Language Technology Center Dept. of Computer Science and Engineering Hong Kong University of Science and Technology Hong Kong</p><p>{masaers|dekai}@cs.ust.hk</p></frontmatter><abstract>We examine how the recently explored class of linear transductions relates to finite-state models. Linear transductions have been neglected historically, but gain-ined recent interest in statistical machine translation modeling, due to empirical studies demonstrating that their attractive balance of generative capacity and com­plexity characteristics lead to improved accuracy and speed in learning alignment and translation models. Such work has until now characterized the class of linear transductions in terms of either (a) linear inversion transduction grammars (LITGs) which are linearized restrictions of inver­sion transduction grammars or (b) lin­ear transduction grammars (LTGs) which are bilingualized generalizations of lin­ear grammars. In this paper, we offer a new alternative characterization of linear transductions, as relating four finite-state languages to each other. We introduce the devices of zipper finite-state automata (ZFSAs) and zipper finite-state transducers (ZFSTs) in order to construct the bridge be­tween linear transductions and finite-state models. </abstract></header><body><section number="1" title="Introduction"><p>Linear transductions are a long overlooked class of transductions positioned between finite-state transductions and inversion transductions in terms of complexity. In the Aho-Ullman hierarchy, lin­ear transductions are those that can be generated by SDTGs<footnote anchor="1"/> of rank 1, but that is about all that is said about them.</p><footnote label="1">Syntax-directed transduction grammars or sdtgs (Lewis and Stearns, 1968; Aho and Ullman, 1972) have also been referred to recently in the statistical machine translation sub­community as synchronous context-free grammars.</footnote><p>Recently, however, linear transduction gram­mars (LTGs) have been shown to be both effective and efficient for learning word alignments in sta­tistical machine translation models (Saers et al., 2010b; Saers et al., 2010a). LTGs can align words more accurately than FSTs since they allow words to be reordered, and yet alignment and training complexity is two orders of magnitude lower than with ITGs (Wu, 1997).</p><p>The added efficiency means that LTGs can be learned directly from parallel corpora rather than relying on external word alignment tools for <i>a pri­ori </i>annotation. The added efficiency does, how­ever, come at a price in expressivity, and it is vital to understand the nature of this trade-off. The au­tomaton/transducer perspective of linear transduc-tions described in this paper offers another vec­tor towards understanding the properties of linear transductions.</p><p>Thus far, such work has not characterized the class of linear transductions in terms of finite-state models. Saers et al. (2010b) define linear trans-ductions in terms of linear inversion transduction grammars (LITGs), which are inversion transduc-tion grammars with a linear restriction. Alterna­tively, Saers et al. (2010a) introduce linear trans-duction grammars (LTGs), which are the natural bilingual generalization of linear grammars, and show that they define the same class of linear transductions as LITGs.</p><p>In this paper, we offer a new alternative charac­terization of linear transductions based on finite-state models. We will start by giving a definition of LTGs, as the principal mechanism for generating linear transductions (Section 2). As an intermedi­ate step, we will note that linear languages (which are related by linear transductions) can be handled by F S Ts under some conditions: we treat linear languages as two finite-state languages dependent on each other, by introducing the device of zipper finite-state automata (Section 3). We then general-<page local="2" global="641"/></p><doubt alpha="33.3" length="3" tooSmall="False" monospace="0.0">R=(</doubt><doubt alpha="46.6" length="58" tooSmall="False" monospace="0.0">G={{S,F}, S, A, S,R)such that S = {b, l, sandwich, t, -} ,</doubt><doubt alpha="66.3" length="98" tooSmall="False" monospace="0.0">A = {bacon, bread, lettuce, mayonnaise, tomato} , S — e/bread F sandwich/bread, F — b/e F e/bacon,</doubt><doubt alpha="25.0" length="8" tooSmall="False" monospace="0.0">F — -/e,</doubt><p>F — -/mayonnaise</p><p>(a) Linear transduction grammar</p><p>S =&gt; e/bread F sandwich/bread b/bread F sandwich/bacon bread b l/bread lettuce F sandwich/bacon bread b l t/ bread lettuce tomato F sandwich/bacon bread b 11 - sandwich/bread lettuce tomato mayonnaise bacon bread</p><p>(b) Generation</p><p>Figure 1: A linear transduction grammar (a) generating a bistring (b). The transduction defined estab­lishes the concept "BLT-sandwich" and the ordered components of its realization: bacon, lettuce and tomato (with optional mayonnaise) sandwiched between two slices of bread.</p><p>ize this to introduce zipper finite-state transducers, treating linear transductions as relating two linear languages to each other (Section 4). Since lin­ear languages relate two finite-state languages to each other, and linear transductions relate two lin­ear languages to each other, linear transductions can be said to relate four finite-state languages to each other.</p></section><section number="2" title="Linear transduction grammars"><p>A linear transduction grammar (LTG) is an in­version transduction grammar (ITG) or syntax-directed transduction grammar (SDTG), of rank 1, which means that any rule may produce at most one nonterminal, eliminating any branching. Fig­ure 1 contains an example of an LTG, and how it generates a bistring.</p><p><b>Definition 1 </b>A linear transduction grammar (ltg) over languages <i>L1 </i>and L2 is a tuple:</p><doubt alpha="33.3" length="18" tooSmall="False" monospace="0.0">G = {N, S, A,S, R)</doubt><p>where N is a finite nonempty set of nonterminal symbols, S is a finite nonempty set of <i>L1 </i>sym­bols, A is a finite nonempty set of L2 symbols,</p><p>S G N is the designated start symbol and R is a finite nonempty set of production rules on the forms:</p><doubt alpha="57.1" length="7" tooSmall="False" monospace="0.0">A&gt;a/xB%</doubt><p>where the nonterminals A, B G N and the biter­minals % , % G S* x A*.</p><p><b>Definition 2 </b>The rules in an ltg G = {N, S, A, S, R) define a binary relation =&gt; over</p><doubt alpha="41.3" length="46" tooSmall="False" monospace="0.0">(S* x A*) (N U (S* x A*)) (S* x A*) such that:</doubt><doubt alpha="59.4" length="32" tooSmall="False" monospace="0.0">a/wA%=&gt;%xBcd/yZiff A —bXxB % G R</doubt><p><b>%j </b>A £/Z <i>aab/wxz </i>iff A — b/x G R</p><p>Note that both the biterminal expressions <i>a</i>/<i>w b</i>/<i>x</i>and <i>ab</i>/<i>wx </i>can designate the translation between the terminal strings a6 and wx. The reflexive transi­tive closure of this relation can be used to define the transduction generated by an LTG as the set of bistrings that can be generated from the grammar's start symbol.</p><doubt alpha="62.5" length="16" tooSmall="False" monospace="0.0">F — l/lettuce F,</doubt><doubt alpha="60.0" length="15" tooSmall="False" monospace="0.0">F — t/tomato F,</doubt><page local="3" global="642"/><p><b>Definition 3 </b>The transduction generated by the</p><doubt alpha="44.0" length="25" tooSmall="False" monospace="0.0">ltgG = {N, S, A, S, R)is:</doubt><doubt alpha="28.6" length="14" tooSmall="False" monospace="0.0">T(G) = ^ (a,x)</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">S</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">G</doubt><doubt alpha="66.7" length="3" tooSmall="False" monospace="0.0">a/x</doubt><doubt alpha="36.4" length="11" tooSmall="False" monospace="0.0">n (S* x A*)</doubt><p>Even though no normal form is given in Aho and Ullman (1972) for ltgs or sdtgs of rank 1, it is useful to have such a normal form. In this work we will adopt the following normal form for ltgs.</p><p><b>Definition 4 </b>An ltg in normal form is an ltg where the rules are constrained to have one of the forms:</p><doubt alpha="44.4" length="18" tooSmall="False" monospace="0.0">A—%'Bb/y'A—a/x'B%'</doubt><doubt alpha="20.0" length="5" tooSmall="False" monospace="0.0">A — /</doubt><doubt alpha="60.0" length="20" tooSmall="False" monospace="0.0">A—a/xBb/y'A—a/x'Bb/y</doubt><p>where A, B G N, a, b G S, a', b' G S U {e}, x, y G A and x', y' G A U {e}.</p><p>That is: only rules where at least one terminal symbol is produced together with a nonterminal symbol, and rules where the empty bistring is pro­duced, are allowed. The "primed" symbols are al­lowed to be the empty string, whereas the others are not. It is possible to construct an ltg in nor­mal form from an arbitrary ltg in the same way that a linear grammar (lg) is normalized.</p><p><b>Theorem 1. </b><i>Grammars of type </i>ltg <i>and type </i>ltg in <i>normal form generate the same class of trans­ductions.</i></p><p><i>Proof. </i>Given an ltg G = (N, S, A, S, R), we can construct an ltg in normal form G' = { N', S , A, S, R') that generates the same lan­guage. For every rule in R we can produce a series of corresponding rules in R'. We start by remov­ing useless nonterminals, rules where one nonter­minal rewrites into another nonterminal only. This can be done in the same way as for sdtgs, see Aho and Ullman (1972). The rules can then be re­cursively shortened until they are in normal form.</p><p>If the rule A — % B / is not in normal form, it can be rephrased as two rules:</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">A</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">B</doubt><doubt alpha="62.5" length="8" tooSmall="False" monospace="0.0">a/xib %m</doubt><doubt alpha="50.0" length="10" tooSmall="False" monospace="0.0">a/ a/bc/c/</doubt><doubt alpha="40.0" length="5" tooSmall="False" monospace="0.0">zm— 1</doubt><p>where B is a newly created unique nonterminal, n is the length of the biterminal % and m is the length of the biterminal /. The first rule is in normal form by definition. The second rule can be subjected to the same procedure until it is in normal form. Having either <i>a/x</i><i> </i>or <i>c/z</i><i> </i>be empty does not affect the results of the procedure, and since we started by eliminating useless rules, one of them is guaranteed to be nonempty.</p><p>If the rule A — <i>b</i><i>/</i><i>y </i>is not in normal form (mean­ing that <i>b</i><i>/</i><i>y </i>is nonempty), it can be replaced by two rules:</p><doubt alpha="60.0" length="5" tooSmall="False" monospace="0.0">a—%ib</doubt><doubt alpha="18.2" length="11" tooSmall="False" monospace="0.0">B—/y2^ ^ ^/</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">yn</doubt><p>where B is a newly created unique nonterminal, and n is the length of the biterminal <i>/y</i><i> </i>. The set of nonterminals N' is the old set N in union with the set of all nonterminals that were created when R'was constructed.</p><p>Whenever there is a production in G such that:</p><doubt alpha="61.5" length="13" tooSmall="False" monospace="0.0">a/Ad/=a/Bcd/G</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">or</doubt><p><i>ai   </i><i>a </i><i>ci     </i>. abc</p><doubt alpha="55.6" length="9" tooSmall="False" monospace="0.0">a/Ac/=ac/</doubt><doubt alpha="63.6" length="11" tooSmall="False" monospace="0.0">/xA/z—G/xyz</doubt><p>There is, by construction, a sequence of produc­tions in G' such that:</p><doubt alpha="42.4" length="33" tooSmall="False" monospace="0.0">a        d*ab cd WA/z—^    wxB/yz</doubt><doubt alpha="50.0" length="2" tooSmall="False" monospace="0.0">G'</doubt><doubt alpha="54.2" length="24" tooSmall="False" monospace="0.0">a/Ac/=*abc//xA/z=G—'/xyz</doubt><p>This means that G' is capable of generating any string that G can generate, giving us the inequal­ity:</p><doubt alpha="50.0" length="10" tooSmall="False" monospace="0.0">L(G)çL(G')</doubt><p>Since the normal form constitutes a restriction, we also know that:</p><doubt alpha="50.0" length="10" tooSmall="False" monospace="0.0">L(G')çL(G)</doubt><p>Which leads us to conclude that:</p><doubt alpha="30.8" length="13" tooSmall="False" monospace="0.0">L(G) = L(G' )</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">□</doubt><p>For statistical machine translation applications, ltgs can be made weighted or stochastic (Saers et al., 2010b; Saers et al., 2010a) in the same way as itgs Wu (1997).</p><doubt alpha="29.4" length="17" tooSmall="False" monospace="0.0">/x2•••/xnB/z1•••/</doubt><page local="4" global="643"/><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">G</doubt></section><section number="3" title="Linear languages revisited"><p>In this section we will take a look at the connec­tion between linear languages (lls) and fsts, and leverage the relationship to define a new type of automaton to handle lls. The new class of au­tomata is referred to as zipper finite-state automata (zfsas), which will replace one-turn pushdown automata (Ginsburg and Spanier, 1966, 1-pdas) and nondeterministic two-tape automata (Rosen­berg, 1967, 2-ndas) as the principal machine for handling linear languages. This is mainly to facili­tate the move into the bilingual domain, and offers nothing substantially new.</p><p>Ginsburg and Spanier (1966, Theorem 6.1) show that a linear language can be seen as the input to an fst concatenated with the reverse of its output. Rosenberg (1967, Theorems 9 and 10) shows that any linear grammar can be said to gen­erate the concatenation of the first tape from a 2-nda with the reverse of the second. Instead of giv­ing the original theorems, we will give two lem­mas in the spirit of the previous works.</p><p><b>Lemma 2. </b><i>For every one-restricted finite-state transducer </i>(1-fst) M <i>there is an </i>lg <i>in normal form that generates the language </i>{ab^|(a,b) G T(M)}.<footnote anchor="2"/> <i>Proof.</i><i> </i>Given that M = (Q, S, A, q<b>o, </b>F, &lt;S) is a 1-fst, we can construct an lg in normal form G = where q, q' G Q, a G S U {e} and b G A U {e}. Whenever there is a transition sequence with M such that:</p><doubt alpha="61.1" length="18" tooSmall="False" monospace="0.0">(Q, SUA,q0,R)where</doubt><doubt alpha="41.0" length="39" tooSmall="False" monospace="0.0">R = {q—a q' b|(q, a, b, q')G U{q—e|qGF}</doubt><doubt alpha="39.3" length="61" tooSmall="False" monospace="0.0">(qo,a, b) = (qo,ai• • • an,bi• • • bn)I~m(qi,a2•••an,b2•••bn)</doubt><doubt alpha="58.3" length="24" tooSmall="False" monospace="0.0">l~M(qn-i,an,bn) hM{qn,e)</doubt><p>where q, G Q, a, G SU{e}, a G S*, b, G AU{e} and b G A* for all i, and where the state qn is a member of F, there is, by construction, a derivation with G such that:</p><footnote label="2">Where     is used to mean the reverse of b.</footnote><p>q<b>o </b>— a<b>i</b>q<b>i</b>b<b>i</b></p><doubt alpha="44.0" length="25" tooSmall="False" monospace="0.0">——ai• • • anqnbn• • • biG</doubt><doubt alpha="45.8" length="24" tooSmall="False" monospace="0.0">—ai•••anbn• • •bi= ab^~G</doubt><p>Thus: whenever the bistring (a, b) is a member of T(M), the string ab^~ is a member of L(G). By construction, G cannot generate any other strings. We thus conclude that <b>Lemma 3.</b><b> </b><i>For every </i>lg <i>in normal form </i>(G), <i>there exists a </i>1-fst (M<i>) such that, for all string </i>s G L(G), <i>there exists a partition </i>s = ab^~ <i>such that </i>(a,b) G T(M).</p><doubt alpha="34.6" length="26" tooSmall="False" monospace="0.0">L(G) = {ab^ |{a, b)GT(M)}□</doubt><doubt alpha="63.8" length="105" tooSmall="False" monospace="0.0">Proof.Given thatG = (N, S, S, R)is anlgin normal form, we can construct a 1-fstM = (N, S, S,S,F,&lt;J)where:</doubt><doubt alpha="45.9" length="37" tooSmall="False" monospace="0.0">F = {A|A—eGR} ,Ö= {{A,a,b,B)|A—aBbGR}</doubt><p>where A, B G N and a, b G S U {e}. Whenever there is a derivation with G such that:</p><p>S —— ai Xibi</p><doubt alpha="45.8" length="24" tooSmall="False" monospace="0.0">——ai• • •anXnbn• • • biG</doubt><p>there is, by definition, a sequence of transitions with M such that:</p><doubt alpha="31.6" length="38" tooSmall="False" monospace="0.0">(S, a, b) = (S, ai• • • an,bi• • • bn)</doubt><doubt alpha="37.0" length="27" tooSmall="False" monospace="0.0">l~M{Xi,a2^ ^ ^an,b2^ ^ ^bn)</doubt><doubt alpha="64.3" length="14" tooSmall="False" monospace="0.0">l~M{Xn-ban,bn)</doubt><p>(where q, G Q, a, G SU{e}, a G S*, b, G AU{e} and b G A* for all i) and the state Xn is by defini­tion a member of F. Thus: whenever G generates ab^, M can recognize (a, b). By construction, M cannot recognize any other bistrings. We thus con­clude that<page local="5" global="644"/></p><doubt alpha="32.1" length="28" tooSmall="False" monospace="0.0">T (M ) = {{a, b)|ab^GL(R)} □</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">M</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">0</doubt><p>Figure 2: A zipper finite-state automata relates the two parts of a string to each other, and define the partitioning of the string at the same time.</p><p>There is a discrepancy between fsts and linear languages in that every string in the language has to be partitioned into two strings before the fst can process them. Naturally, the number of ways to partition a string is proportional to its length. Naively trying all possible partitions would take O(n<footnote anchor="3"/>) time (O(n) partitions and O(n<footnote anchor="2"/>) time to run the fst on each string pair), which is equal to cfgs. If linear languages are as time-consuming to process as cfls, we might as well use the more expressive language class. If, however, the parti­tion point could be found as a part of the analysis process rather than conjectured <i>a priori, </i>the pro­cess would be faster than cfgs.</p><p>It is possible to reinterpret the transition rela­tion defined by an fst such that it reads from both tapes, rather than reads from one and writes to the other. We define this relation as:</p><doubt alpha="44.2" length="43" tooSmall="False" monospace="0.0">(q, aa, ßb)^M,r(q', a, ß)iff(q, a, b, q')Gö</doubt><p>where q, q' G Q, a G S, b G A, a G S* and ß G A*. Using this interpretation of the fst M (designated M' under this reinterpretation) we have that:</p><doubt alpha="44.8" length="29" tooSmall="False" monospace="0.0">(a,ß^)GT(M)    iff(a,ß)GT(M')</doubt><p>which, by lemmas 2 and 3, means that the con­catenation of a and ß over the entire transduction constitutes a linear language. This is the intuition behind zipper finite-state automata. By construct­ing a string 7 G (S U A)* such that 7 = aß, we can rewrite the reinterpreted fst relation as:</p><doubt alpha="41.7" length="36" tooSmall="False" monospace="0.0">(q, aYb)',r(q', 7)iff(q, a, b, q')Gö</doubt><p>which define a linear language over (S U A)*. The partitioning of the string is also implicitly de­fined since the automaton will end up somewhere in the original string, defining the place of parti­tioning that makes the two parts related (or con­cluding that they are not, and that the string is not a member of the language defined by the automa­ton). The attribute "zipper" comes from the visual­ization, where the control of the automaton slides down two ends of the tape until it reaches the bot­tom after having drawn all connections between the two parts of the tape—like a zipper (see Fig­ure 2). Again, this is merely a reinterpretation of previous work. The idea of a dedicated automa­ton to process a single tape containing strings from a linear language with finite control (as opposed to using a stack as the 1-pdas do, or partitioning the tapes as 2-ndas strictly speaking have to do) is not new. Nagy (2008) presents 5' — 3' sens­ing Watson-Crick finite automata which are used to process dna strings, and Loukanova (2007) presents nondeterministic finite automata to han­dle linear languages. Our reinterpretation is made to facilitate the transition into the bilingual do­main.</p><p><b>Definition 5 </b>A zipper finite-state automaton (zfsa) is a tuple:</p><doubt alpha="50.0" length="14" tooSmall="False" monospace="0.0">M=(Q,S,qo,F,ö)</doubt><p>where Q is a finite nonempty set of states, S is a finite set of symbols, qo G Q is the start state, F ç Q is a set of accepting states and ö ç QxS* xS* xQ is a finite set of transitions. Transitions define a binary relation over Q x S* such that:</p><p>(q, aYß) <i>\~m </i>(q', 7)   iff  (q, a, ß, q') G ö where q, q' G Q and a, ß, 7 G S*.</p><p><b>Lemma 4. </b><i>Every </i>fst <i>can be expressed as a </i>zfsa. <i>Proof. </i>Let M = (Q, S, A,qo,F,ö) be an fst, and let M' = (Q, S U A, qo, F, ö) be the corre­sponding zfsa. The only differences are that M'uses the union of the two alphabets that M trans­duces between, and that the interpretation of the relation defined by ö is different in M and M'. □ <b>Lemma 5.</b><b> </b><i>Every </i>zfsa <i>can be expressed as an </i>fst.</p><p><i>Proof. </i>Let M = (Q, S, qo, F, ö) be a zfsa, and let M' = (Q, S, S, qo, F, ö) be the corresponding fst transducing within the same alphabet. The only differences are that M' uses two copies of<page local="6" global="645"/></p><doubt alpha="50.0" length="2" tooSmall="False" monospace="0.0">ö=</doubt><doubt alpha="50.0" length="32" tooSmall="False" monospace="0.0">M=(Q,S, A,qs, {q'} , ö)such that</doubt><doubt alpha="40.0" length="15" tooSmall="False" monospace="0.0">(qF,-,e,e,e,q')</doubt><p>( qF, -, mayonnaise, e, e, q') (a) Zipper finite-state transducer ( qs, b l t - sandwich, bread lettuce tomato mayonnaise bacon bread) hM (qF, b 11 -, lettuce tomato mayonnaise bacon) hM (qF, 11 -, lettuce tomato mayonnaise) hM (qF, t -, tomato mayonnaise) hM (qF, -, mayonnaise)</p><doubt alpha="50.0" length="10" tooSmall="False" monospace="0.0">hM{q',e,e)</doubt><p>(b) Recognition</p><p>Figure 3: A zipper finite-state transducer (a) recognizing a bistring (b). This is the same bistring that was generated in Figure 1.</p><p>the same alphabet (S), and that the interpretation of the relation defined by ö is different in M and M'. □ <b>Theorem 6.</b><b> </b>FSTs <i>in recognition mode are equiv­alent to </i>ZFSA<i>s.</i></p><p><i>Proof. </i>Follows from Lemmas 4 and 5. □ <b>Theorem 7.</b><b> </b><i>The class of languages recognized by </i>ZFSA<i>s is the class oflinear languages.</i></p><p><i>Proof. </i>From Lemmas 2 and 3 we have that FSTs generate linear languages, and from theorem 6 we have that ZFSAs are equivalent to FSTs. □</p><p>To recognize with a ZFSA is as complicated as rec­ognizing with an FST, which can be done in O(n<footnote anchor="2"/>) time. Since we are effectively equating a transduc-tion with a language, it is helpful to instead con­sider this as "finite-state in two dimensions." For the finite-state transduction, this is easy, since it re­lates two finite-state languages to each other. For the linear languages it takes a little more to con­sider them as languages that internally relate one part of every string to the other part of that string.</p><p>The key point is that they are both relating some­thing that is in some sense finite-state to something else that is also finite-state.</p></section><section number="4" title="Zipper finite-state transducers"><p>Having condensed a finite-state relation down to a language, we can relate two such languages to each other. This is what zipper finite-state trans­ducers (ZFSTs) do. If linear languages relate one part of every string to the other, linear transduc-tions relate these two parts to the two parts of all the strings in another linear language. There are in all four kinds of entities involved, (a, b) G L1and (x, y) G L2, and linear transduction have to relate them all to each other. We claim that this is what LTGs do, and in this section we will see that the transducer class for linear languages, ZFSTs, is equivalent to LTGs. An example of a ZFST can be found in Figure 3.</p><p><b>Definition 6 </b>A zfst over languages L1 and L2is a tuple:</p><doubt alpha="40.0" length="20" tooSmall="False" monospace="0.0">M = (Q, S, A,qo,F,ö)</doubt><p>where Q is a finite nonempty set of states, S is a finite nonempty set of L1 symbols, A is a finite nonempty set of L2 symbols, qo G Q is the designated start state, F ç Q is a set of accepting states and:<page local="7" global="646"/></p><doubt alpha="60.0" length="145" tooSmall="False" monospace="0.0">Q={qs,qF,q'} ,S ={b, l, sandwich, t, -} ,A = {bacon, bread, lettuce, mayonnaise, tomato}( (qs, e,bread, sandwich, bread,qF), {qF,b,e,e,bacon,qF),</doubt><doubt alpha="56.0" length="25" tooSmall="False" monospace="0.0">{qF,l, lettuce,e, e, qF),</doubt><doubt alpha="54.2" length="24" tooSmall="False" monospace="0.0">(qF,t, tomato,e, e, qF),</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">S</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">G</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">□</doubt><p>ö ç Q x S* x A* x S* x A* x Q</p><p>is a finite set of transitions. The transitions de-fine a binary relation over Q x S* x A* such where q, q' G Q, a, b, c G S* and x, y, z G A*.</p><doubt alpha="80.0" length="5" tooSmall="False" monospace="0.0">that:</doubt><doubt alpha="57.1" length="21" tooSmall="False" monospace="0.0">(q,abc,xyz)hm(q',b,y)</doubt><doubt alpha="45.8" length="24" tooSmall="False" monospace="0.0">iff(q, a, x, c, z, q')Gö</doubt><p>We know that ZFSTs relate linear languages to each other, they are defined to do so, and we con­jecture that LTGs relate linear languages to each other. By proving that ZFSTs and LTGs handle the same class of transductions we can assert that LTGs do indeed generate a transduction relation between linear languages.</p><p><b>Lemma 8. </b><i>For every </i>ltg <i>there is a </i>zfst <i>that rec­ognizes the language generated by the </i>LTG.</p><doubt alpha="63.1" length="130" tooSmall="False" monospace="0.0">Proof.LetG = (N, S, A, S, R)be anltg,and letM = (N', S, A, S, {S'}, ö)be the correspond­ingzfstwhereS'is a unique final state,N' =</doubt><doubt alpha="54.5" length="11" tooSmall="False" monospace="0.0">NU {S'}and:</doubt><doubt alpha="44.2" length="52" tooSmall="False" monospace="0.0">ö ={{A,a,x,c,z,B)|A—a/xB /GR}u{{A,b,y,e,e,S')|A—/GR}</doubt><p>where A, B G N, a, b, c G S* and x, y, z G A*. Whenever there is a derivation with G such that:</p><doubt alpha="60.0" length="10" tooSmall="False" monospace="0.0">'^xA1ci/zj</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">ai</doubt><doubt alpha="60.0" length="15" tooSmall="False" monospace="0.0">il an     Acncu</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">zi</doubt><p>(where S, A, G N, a^b, G S* and x^y, G A* for all i),<footnote anchor="3"/> we have, by construction, a sequence of transitions in M that takes it from an initial config­uration with the generated bistring to an accepting configuration:</p><doubt alpha="43.8" length="64" tooSmall="False" monospace="0.0">(S, ai• • • anbcn• • • ci,xi• • • xnyzn• • • Zi)I"m(Ai,a2•••anbc</doubt><doubt alpha="64.3" length="14" tooSmall="False" monospace="0.0">nc2,x2xnyznz2)</doubt><doubt alpha="60.0" length="10" tooSmall="False" monospace="0.0">hM(An,b,y)</doubt><footnote label="3">These i indices are not indicating individual symbols in a string, but different strings.</footnote><p>This means that M can recognize all strings gen­erated by G. By construction, M cannot recognize any other strings. We thus conclude that <b>Lemma 9.</b><b> </b><i>For every </i>zfst, <i>there is an </i>ltg <i>that generates the transduction recognized by the</i></p><doubt alpha="36.4" length="11" tooSmall="False" monospace="0.0">T(M) = T(G)</doubt><p>ZFST.</p><doubt alpha="66.7" length="93" tooSmall="False" monospace="0.0">Proof.LetM = (Q, S, A,qo,F,ö)be azfst,and letG =(Q, S, A, qo,R)be the correspond­ingLTGwhere:</doubt><doubt alpha="43.9" length="41" tooSmall="False" monospace="0.0">R ={q—a/xq' %|{q,a,x,b,y,q')Gö}U{q—/|qGF}</doubt><p>where q, q' G Q, a, b, c G S* and x, y, z G A*. For every bistring that M can recognize:</p><doubt alpha="38.3" length="47" tooSmall="False" monospace="0.0">(qo,ai• • • anbn• • • bi, xi• • • xnyn• • • yi)</doubt><doubt alpha="38.9" length="54" tooSmall="False" monospace="0.0">hM(qi,a2• • • anbn• • • b2,x2• • • xnyn• • •hM{qn,e,e)</doubt><p>(where qj G Q, aj, b G S* and xj, yj G A* for all i,<footnote anchor="4"/> and where qn G F), we have, by construction, a derivation with G that generates that bistring:</p><p>q<b>o </b>—G ai/xi q<b>i </b>bi/yi</p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">*</doubt><doubt alpha="66.7" length="3" tooSmall="False" monospace="0.0">G G</doubt><p>ai/ an/ q bn/ bi//xi /xnqn /yn /yi</p><doubt alpha="66.7" length="24" tooSmall="False" monospace="0.0">ai/an/bn/bi//xi/xn/yn/yi</doubt><p>This means that G can generate all strings that M can recognize. By construction, G cannot generate any other strings. We thus conclude that <b>Theorem 10.</b><b> </b><i>The class of transductions gener­ated by </i>LTG<i>s is the same as that recognized by</i></p><doubt alpha="36.4" length="11" tooSmall="False" monospace="0.0">T(G) = T(M)</doubt><p>ZFSTs.</p><p><i>Proof. </i>Follows from lemmas 8 and 9.</p><footnote label="4">Again, these indices do not refer to individual symbols in a string, but different strings.</footnote><doubt alpha="100.0" length="7" tooSmall="False" monospace="0.0">anbcnci</doubt><doubt alpha="64.3" length="14" tooSmall="False" monospace="0.0">/xi/xn/y/zn/zi</doubt><page local="8" global="647"/></section><section number="5" title="Conclusion"><p>We have examined how the class of linear trans-ductions relates to finite-state models. Our anal­ysis complements earlier characterizations of lin­ear transductions in terms of litgs (linearized restrictions of inversion transduction grammars) and ltgs (bilingualized generalizations of linear grammars). Our new alternative characterization has shown how linear transductions relate four finite-state languages to each other, with the aid of the devices zipper finite-state automata and trans­ducers.</p></section><section title="Acknowledgments"><p>This work was funded by the Defense Ad­vanced Research Projects Agency under gale Contract Nos. HR0011-06-C-0023 and HR0011-06-C-0023, and the Hong Kong Research Grants Council (rgc) under research grants GRF621008, GRF612806, DAG03/04.EG09, RGC6256/00E, and RGC6083/99E. Any opinions, findings and conclusions or recommendations expressed in this material are those of the authors and do not nec­essarily reflect the views of the Defense Advanced Research Projects Agency. We would also like to thank the four anonymous reviewers, whose feed­back made this a better paper.</p></section><references><p>Alfred V. Aho and Jeffrey D. Ullman. 1972. <i>The Theory of Parsing, Translation, and Compiling. </i>Prentice-Halll, Englewood Cliffs, NJ.</p><p>Seymour Ginsburg and Edwin H. Spanier. 1966. Finite-turn pushdown automata. <i>Society for Indus­trial and Applied Mathematics Journal on Control, </i>4(3):429-453.</p><p>Philip M. Lewis and Richard E. Stearns. 1968. Syntax-directed transduction. <i>Journal ofthe Association for Computing Machinery, </i>15(3):465—488.</p><p>Roussanka Loukanova. 2007. Linear context free languages. In Cliff Jones, Zhiming Liu, and Jim Woodcock, editors, <i>Theoretical Aspects ofComput-ing - ICTAC 2007, </i>volume 4711 of <i>Lecture Notes in Computer Science, </i>pages 351-365. Springer Berlin/Heidelberg.</p><p>Benedek Nagy. 2008. On 5' — 3' sensing Watson-Crick finite automata. In Max Garzon and Hao Yan, editors, <i>DNA Computing, </i>volume 4848 of <i>Lec­ture Notes in Computer Science, </i>pages 256-262. Springer Berlin/Heidelberg.</p><p>Arnold L. Rosenberg. 1967. A machine realization of the linear context-free languages. <i>Information and Control, </i>10:175-188.</p><p>Markus Saers, Joakim Nivre, and Dekai Wu. 2010a. A systematic comparison between inversion transduc-tion grammar and linear transduction grammar for word alignment. In <i>Proceedings of the 4th Work­shop on Syntax and Structure in Statistical Transla­tion, </i>pages 10-18, Beijing, China, August. Coling 2010 Organizing Committee.</p><p>Markus Saers, Joakim Nivre, and Dekai Wu. 2010b. Word alignment with stochastic bracketing linear inversion transduction grammar. In <i>Human Lan­guage Technologies: The 2010 Annual Conference </i><i>ofthe</i><i> North American Chapter </i><i>ofthe</i><i> Association for Computational Linguistics, </i>pages 341-344, Los Angeles, California, June. Association for Compu­tational Linguistics.</p><p>Dekai Wu. 1997. Stochastic inversion transduction grammars and bilingual parsing of parallel corpora. <i>Computational Linguistics, </i>23(3):377—403.</p></references></body></article>