<?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="471"/><title>Towards Minimal Recursion Semantics over Bulgarian Dependency Parsing</title><pubinfo>Proceedings of Recent Advances in Natural Language Processing,pages 471^-78, Hissar, Bulgaria, 12-14 September 2011.</pubinfo><author surname="Simov" givenname="Kiril"><org  name="IICT-BAS LMD"/></author><author surname="Osenova" givenname="Petya"><org  name="IICT-BAS LMD"/></author></firstpageheader><frontmatter><p><b>Towards Minimal Recursion Semantics over Bulgarian Dependency</b></p><p><b>Parsing</b></p><p><b>Kiril Simov Petya Osenova</b></p><p>LMD, IICT-BAS LMD, IICT-BAS</p><p>kivs@bultreebank.org petya@bultreebank.org</p></frontmatter><abstract>The paper discusses the transferring rules of the output from a dependency parser for Bul­garian into RMRS analyses. This task is re­quired by the machine translation compatibil­ity between Bulgarian and English resources. Since the Bulgarian HPSG grammar is still be­ing developed, a repairing mechanism has been envisaged by parsing the Bulgarian data with the Malt Dependency Parser, and then re­trieving RMRS analyses by exploring the lin­guistic knowledge within BulTreeBank-DP. </abstract></header><body><section number="1" title="Introduction"><p>Recently a number of machine translation efforts have focused on grammatical formalisms in per­forming source language analysis, transfer rule application and target language generation. It is worth mentioning several works, such as (Bond, 2005) exploiting DELPH-IN infrastructure for developing of HPSG grammars, (Riezler and Maxwell III, 2006) using LFG grammar, (Oepen et al, 2007) working on a hybrid architecture consisting of an LFG grammar, an HPSG gram­mar, partial parsing, and (Bojar and Hajic, 2008) using the Functional Generative Description framework to language analysis on analytical and tectogrammatical level. All the approaches rely on the advances in the development of deep grammar natural language parsing. The ap­proaches share similar architecture and tech­niques to overcome the drawbacks of the deep processing in comparison to statistical shallow methods.</p><p>Within the above mentioned context, we are constructing a Bulgarian-to-English translation system, based on HPSG. The transfer rules are implemented on the level of MRS (Minimal Recursion Semantic) structures (Copestake et al, 2005). The HPSG deep grammar for Bulgarian still has a limited coverage. Thus, for many input sentences it will fail to produce MRS analyses. In such cases, we rely on a dependency parser (Malt parser trained on the BulTreeBank data) to produce a dependency parse for the sentence. Then, we construct an RMRS (Robust Minimal Recursion Semantic) analysis over the depend­ency parse. Thus our input processing architec­ture consists of two grammars - HPSG grammar which produces MRS structures, and Depend­ency grammar which produces RMRS structures. The resulting semantic analysis is the input for the transfer module of the machine translation system. The paper focuses on the dependency tagset and the rules for the construction of RMRS analyses over the dependency parses. It is structured as follows: First, the context of our work is presented. Then our dependency tagset is discussed. In the following section the HPSG-based Bulgarian grammar BURGER is briefly outlined. Finally, the basic rules for the construc­tion of the RMRS analyses from dependency parses are described.</p></section><section number="2" title="Background"><p>Our approach is inspired by the work on MRS and RMRS (see (Copestake, 2003; 2007)) and the previous work on transfer of dependency analyses into RMRS structures described in (Spreyer and Frank, 2005) and (Jakob et al, 2010).</p><p>MRS is introduced as an underspecified se­mantic formalism (Copestake et al, 2005). It is used to support semantic analyses in HPSG Eng­lish grammar - ERG (Copestake and Flickinger, 2000), but also in other grammar formalisms like LFG. The main idea is the formalism to rule out spurious analyses resulting from the representation of logical operators and the scope of quanti­fiers.<page local="2" global="472"/> Here we will present only basic definitions from (Copestake et al, 2005). For more details the cited publication should be consulted. An MRS structure is a tuple <i>&lt;GT, R, </i>C&gt;, where <i>GT </i>is the top handle, R is a bag of EPs (elementary predicates) and <i>C </i>is a bag of handle constraints, such that there is no handle <i>h </i>that outscopes GT. Each elementary predication contains exactly four components: (1) a handle which is the label of the EP; (2) a relation; (3) a list of zero or more ordinary variable arguments of the relation; and (4) a list of zero or more handles corresponding to scopal arguments of the relation (i.e., holes). Here is an example of an MRS structure for the sentence <i>"Every dog chases some white cat. </i>" &lt;h0, {hi: every(x,h2,h3), h2: dog(x), h4: chase(x, y), h5: some(y,h6,h7), h6: white(y), h6: cat(y)}, {}&gt;</p><p>The top handle is hO. The two quantifiers are represented as relations <i>every(x, y, z) </i>and <i>some(x, y, z) </i>where <i>x </i>is the bound variable, <i>y </i>and <i>z </i>are handles determining the restriction and the body of the quantifier. The conjunction of two or more relations is represented by sharing the same handle (h&lt;5 above). The outscope relation is defined as a transitive closure of the immediate outscope relation between two elementary pre­dications - EP immediately outscopes EP' iff one of the scopal arguments of EP is the label of EP'. In this example the set of handle constraints is empty, which means that the representation is underspecified with respect to the scope of both quantifiers. Here we finish with the brief intro­duction of the MRS formalism. The rest of the definitions will be introduced when necessary in the text.</p><p>RMRS is introduced as a modification of MRS which to capture the semantics resulting from the shallow analysis. Here the following assumptions are taken into account - the shallow processor does not have access to a lexicon. Thus it does not have access to arity of the relations in EPs. Therefore, the representation has to be underspe-cified with respect to the number of arguments of the relations. Additionally, the forming of the re­lation names follows such conventions that provide possibilities to construct a correct se­mantic representation only on the base of inform­ation provided by a POS tagger, for example. The arguments are introduced separately by ar­gument relations between the label of a relation and the argument. The names of the argument re­lations follow some standardized convention like RSTR, BODY, ARG1, ARG2, etc. These argument relations are grouped in a separate set in a given RMRS structure. Both representations MRS and RMRS could be transferred to each other under certain conditions. In the paper we follow the representation of RMRS used in structure as a quadruple &lt; <i>hook, EP-bag, argu­ment set, handle constraints </i>&gt;, where a hook consists of three elements l:a:i, <i>l </i>is a label, <i>a </i>is an anchor and <i>i </i>is an index. Each elementary pre­dication is additionally marked with an anchor -<i>l:a:r(i), </i>where <i>l </i>is a label, <i>a </i>is an anchor and <i>r(i) </i>is a relation with one argument of appropriate kind - referential index or event index. The argu­ment set contains argument statements of the fol­lowing kind a:ARG(x), where <i>a </i>is anchor which determines for which relation the argument is defined, <i>ARG </i>is the name of the argument, and <i>x </i>is an index or a hole variable or handle <i>(h)</i><i> </i>for scopal predicates. The handle constraints are of the form <i>h =q l, </i>where h is a handle, l is a label and <i>=q </i>is the relation expressing the constraint similarly to MRS. <i>=q </i>sometimes is written as <i>qeq.</i></p><doubt alpha="64.3" length="42" tooSmall="False" monospace="0.0">(Jakob et al, 2010), which defines an RMRS</doubt><p>RMRS was used in analyses of two depend­ency treebanks - TIGER treebank of German and Prague Dependency Treebank of Czech. The work on Prague Dependency Treebank presented in (Jakob et al, 2010) first assigns elementary predications to each node in the tectogrammatic-al tree. Then the elementary predications for the nodes are combined on the basis of the depend­ency annotation in the trees. Similar approach is taken by us, except that the analyses from which we start are not trees on tectogrammatical level. Thus, our trees contain nodes for each token in the sentences.</p></section><section number="3" title="Bulgarian Dependency Parsing"><p>Many parsers have been trained on data from BulTreeBank. Especially successful was the MaltParser of Joakim Nivre (Nivre et al., 2006). It works with 87.6 % accuracy. The following text describes the dependency relations produced by the parser.</p><p>Here is a table with the dependency tagset re­lated to the Dependency part of the BulTree­Bank. This part has been used for training of the <u>dependency parser:</u></p><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>adjunct 12009</p></td><td class="cell"><p>Adjunct (optional verbal argument)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>clitic</p><p>2263</p></td><td class="cell"><p>Short forms of the possessive pronouns</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>comp</p></td><td class="cell"><p>Complement (arguments of non-verbal</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="3" global="473"/><p>In addition to the dependency tags we have also morphosyntactic tags attached to each word (Simov et. al, 2004). For each lexical node the lemma is assigned. The number under the name of each relation indicates how many times the re­lation appears in the dependency version of Bul­TreeBank. We have also statistics for the triples &lt;DependentWordForm, Relation, HeadWord-Form&gt;. It is used for defining the rules for con­structing RMRS structures over the dependency parses produced by the Malt parser.</p><p>The dependency relations here reflect the ori­ginal HPSG analyses in BulTreeBank and are conformant to the dependency relations schema of the CoNLL shared task (2006). Thus, some of them are more specific (such as, <i>obj, indobj, clit­ic, subj, </i>etc.), while others are more general (such as, <i>comp </i>and <i>mod). </i>Since the reflexive ac­cusative and dative clitics are always marked as <i>comp, </i>a dictionary check is needed to determine whether these clitics are part of the lexeme, or they mark a voice alternation. Also, when there is an auxiliary verb, it becomes the root of the sentence, and since the main verb as well as the personal clitic are both marked with the same re­lation (comp), a check with the morphosyntactic information is needed. Here is an example for the sentence 'The peoples afterwards have revenged them mercilessly':</p><doubt alpha="96.6" length="29" tooSmall="True" monospace="0.0">IHBnocneflciBMCioKomeoiMMira,</doubt><doubt alpha="65.0" length="20" tooSmall="True" monospace="0.0">(comp)'(comp)(punct)</doubt><p>The missing information in comparison with the HPSG-based version is the constituent struc­ture, the coreferential relations and ellipses. As it can be seen from the above description, some of the relations in the dependency tagset are very general (the <i>comp </i>relation, for example). More specific information could be inferred on the basis of the morphosyntactic information of the two lexical nodes and the dependency relation between them. This allows us to write rules for constructing RMRS for different configurations in the dependency trees (see section 5). In the above example, the participle (node 6) determ­ines the relation of the main verb and the dative clitic (node 4) determines the plurality and the third person of the indirect object. More on the specificities of this schema in comparison with another dependency schema for Bulgarian is dis­cussed in (Kancheva 2010).</p></section><section number="4" title="The BURGER Grammar and the MRS Analysis"><p>BURGER is the realization of the Matrix Gram­mar (Bender et. al 2002) to Bulgarian language. It is implemented in LKB - Linguistic Know­ledge Builder (Bender et. al 2010). Its first ver­sion is made available at the DELPH-IN Consor­tium site, and it is described in (Osenova 2010).</p><p>The work on the grammar included several tasks: a lexicon building for Bulgarian within the required format; adapting of the type hierarchy to the Bulgarian grammar model; addition of lan­guage specific principles for Bulgarian; prepar­ing of a test-suite with sentences, which to illus­trate the main linguistic phenomena in Bulgarian and to demonstrate the capacity of the grammar (including also negative examples on the basis of the Bulgarian BulTreeBank Corpus).<page local="4" global="474"/></p><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>18043</p></td><td class="cell"><p>heads, non-finite verbal heads, copula, auxiliaries)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>conj 6342</p></td><td class="cell"><p>Conjunction in coordination</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>conjarg 7005</p></td><td class="cell"><p>Argument (second, third, ...) of coordina­tion</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>indobj 4232</p></td><td class="cell"><p>Indirect Object (indirect argument of a non-auxiliary verbal head)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>marked 2650</p></td><td class="cell"><p>Marked (clauses, introduced by a subor-dinator)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>mod 42706</p></td><td class="cell"><p>Modifier (dependants which modify nouns, adjectives, adverbs; also the neg­ative and interrogative particles)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>obj 7248</p></td><td class="cell"><p>Object (direct argument of a non-auxili­ary verbal head)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>subj 14064</p></td><td class="cell"><p>Subject</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>pragadjunct 1612</p></td><td class="cell"><p>Pragmatic adjunct</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>punct 28134</p></td><td class="cell"><p>Punctuation</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>xadjunct 1826</p></td><td class="cell"><p>Clausal adjunct</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>xcomp 4651</p></td><td class="cell"><p>Clausal complement</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>xmod 2219</p></td><td class="cell"><p>Clausal modifier</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>xprepcomp 168</p></td><td class="cell"><p>Clausal complement of preposition</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>xsubj 504</p></td><td class="cell"><p>Clausal subject</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1 : HapoflbT : Nc</p></td><td class="cell"><p></p></td><td class="cell"><p>2 : Bnocjiejicme : Dt</p></td><td class="cell"><p></p></td><td class="cell"><p>3 : BCMO : Dm</p></td><td class="cell"><p></p></td><td class="cell"><p>4 : <b>mm </b>: Pp</p></td><td class="cell"><p></p></td><td class="cell"><p>6 : oiNicira : Vpp</p></td><td class="cell"><p></p></td><td class="cell"><p>7 :. : Punct</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><p>Here is an example of the lexical entry for the verb <i>nema </i>'read':</p><doubt alpha="52.4" length="21" tooSmall="False" monospace="0.0">cheta := v_np_i1_le &amp;</doubt><doubt alpha="50.0" length="16" tooSmall="False" monospace="0.0">[STEM&lt; "Hera" &gt;,</doubt><p><b>SYNSEM.LKEYS.KEYREL.PRED</b> "neTavrel"].</p><p>As it can be seen, the lexical entry uses the Latin transliteration of the Bulgarian word. The Cyrillic sequence is presented in the feature <b>STEM. </b>The mnemonic name <b>v_np_i_le </b>means that this word is a verb, which takes an NP as its complement, and it is in an imperfective aspect. The ending <b>le </b>has only technical functions.</p><p>In general, the Grammar Matrix provides a se­mantic approach to the description of a language. For example, the verbs, the adjectives, the ad­verbs and the prepositions are viewed as introdu­cing events. Bulgarian, however, lacks a gram­mar, which describes all the phenomena at the semantic-syntactic interface. The existing re­search is mainly focused on the morphology and syntax only. Concerning Bulgarian, its rich mor­phology seems to conflict with the requirements behind the semantic approach. Thus, the adject­ives, participles, numerals happen to have <i>mor­phologically </i>definite forms, while the definite-ness marker is not a <i>semantic </i>property of these categories. For that reason, the most important thing in the grammar was to keep Syntactic and Semantic features separate. This distinction con­cerns, for example, definiteness and tense prop­erties. All the parses are also augmented with the corresponding MRS.</p><p>BURGER covers all the syntactic phenomena, presented in the international testset of the Gram­mar Matrix plus the language specific features, such as clitics behavior, da-construction, pro-dropness, lexical aspect etc (193 sentences).</p><p>Here is an example of an MRS for the sen­tence <i>ne Jiaü </i>'do not bark', where the negative particle <i>ne </i>'no' is treated as a verb:</p><p><b>[LTOP: </b><i>hi</i> <b>INDEX:</b><b> </b><i>e2 </i><b>[E.ASPECT: </b><i>imperfecta </i><b>E.MOOD: </b><i>imperative </i><b>SF: </b><i>comm] </i><b>RELS:&lt;</b></p><p>[ "negation_reP' <b>LBL: </b><i>hi </i><b>ARGO: </b><i>el </i><b>ARGl:/d [ "jrax</b>_v<b>_rel" LBL: </b><i>h4 </i><b>ARGO: </b><i>e2</i></p><p><b>ARG1: x5 </b>[x <b>PNG.NL'MBER </b><i>singular </i><b>PNG.PERSON </b><i>2nd </i>SF <i>comm] </i><b>HCONS </b><i>&lt;h3 </i>qeq <i>h4&gt;]</i></p><p>Here the main verb 'bark' is represented as an event (the value of ARG0), which takes an unex­pressed subject (the value of ARG1) being of un-derspecified gender, singular, second person. The negative particle is encoded as a verb, which in­troduces a negation relation. In this relation, ARG0 structure-shares with the ARG0 of the event 'bark', and ARG1 is the scope over the event 'bark'.</p></section><section number="5" title="RMRS  for  Bulgarian Dependency Parses"><p>In this section we present a set of rules for trans­fer of dependency parses into RMRS presenta­tions. The information input for the RMRS struc­tures is based on the following linguistic annota­tion - the lemma <i>(Lemma) </i>for the given word-form; the morphosyntactic tag <i>(MSTag) </i>of the wordform, and the dependent relations in the de­pendency tree. In cases of quantifiers we have access to the lexicon used in BURGER. Here we present the rules for some of the most important combinations. The approach of (Jakob et al, 2010) is adopted. Also, we take into account the MRS structures produced by BURGER in order to be able to compare them to RMRS structures produced over the dependency trees. Thus, the algorithm for producing of RMRS from a de­pendency parse is implemented via two types of rules:</p><doubt alpha="61.5" length="26" tooSmall="False" monospace="0.0">1.&lt;Lemma, MSTag&gt; ® EP-RMRS</doubt><p>The rules of this type produce an RMRS in­cluding an elementary predicate.</p><p>2. <i>&lt;DRMRS, Rel, HRMRS&gt; ® HRMRS' </i>The rules of this type unite the RMRS con­structed for a dependent node <i>(DRMRS) </i>into the current RMRS for a head node <i>(HRMRS).</i><i> </i>The union <i>(HRAMRS') </i>is determined by the relation <i>(Rel) </i>between the two nodes. In the rest of the section we present examples of these rules.</p><p>First, we start with assigning EPs for each lemma in the dependency tree. These EPs are similar to node EPs of (Jakob et al, 2010). Each EP for a given lemma consists of a predicate generated on the basis of the lemma string. When the lemma is a quantifier and thus it is a part of the BURGER lexicon, we copy the related in­formation about its relation and arguments - RE­STRICTION (RSTR) and BODY. Additionally, the morphosyntactic features of the wordform are presented. On the basis of the part-of-speech tag the type of ARG0 is determined - referential in­dex or event index. After this initial step the ba­sic RMRS structure for each lemma in the sentence is compiled.<page local="5" global="475"/> Below we discuss the exploit­ation of the rest of the information in the depend­ency tree - the types of links to the other lemmas as well as the further contribution of the morpho-syntactic features. Here is an example for the verb 'neTa' (to read):</p><doubt alpha="27.3" length="11" tooSmall="False" monospace="0.0">&lt; l1:a1:e1,</doubt><doubt alpha="39.0" length="41" tooSmall="False" monospace="0.0">{ H:a1:neTa_v_rel(e1) }, { a1:ARG1(x1) },</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">{} &gt;</doubt><p>In this example we also include information for the unexpressed subject (ARG1) which is al­ways incorporated in the verb form. In case the subject is expressed, it will be connected to the same referential index. For some types of nodes the EP RMRS will include information only for arguments of the predicate of the head node.</p><p>The short forms of pronouns (clitics) do not introduce a semantic relation. The semantic rela­tion is introduced only by their full counter-parts. It is rather straightforward transfer, since the short forms are annotated as clitics, while the full forms are assigned grammatical roles - object or indirect object. Thus, the full forms in verbal do­main are automatically transferred as ARG2 and ARG3 of the corresponding verb. In this transfer we always connect the object to argument ARG2 slot and indirect object to ARG3 slot. For ex­ample, the sentence <i>nema </i><i>My</i><i> </i><i>h </i>(Read-I him-dat-ive her-accusative, 'I read it to him') will have the following representation:</p><doubt alpha="38.8" length="67" tooSmall="False" monospace="0.0">{ H:a1:neTa_v_rel(e1) }, { a1:ARG1(x1), a1:ARG2(x2), a1:ARG3(x3) },</doubt><p>The EP RMRS for the accusative clitic intro­duces only the information for ARG2 and appro­priate grammatical features for the variable x2 (third person, singular, feminine). Similarly EP RMRS for the dative clitic provides ARG3 and its grammatical features (third person, singular, masculine). When this information is incorpor­ated into the head RMRS, the anchors for the ARG2 and ARG3 are changed with respect to the anchor of the head.</p><p>The subject is mapped to ARG1. It is worth noting that the Subject argument is partially de­termined during the previous step in building EPs, because Bulgarian is a pro-drop language, and the main subject properties are considered part of the verb form. Here is an example for the sentence <i>MOMne </i><i>My</i><i> </i><i>h </i><i>neme </i>(Boy him-dative her-accusative read, 'A boy reads it to him) :</p><doubt alpha="27.3" length="11" tooSmall="False" monospace="0.0">&lt; l2:a4:e1,</doubt><doubt alpha="50.0" length="24" tooSmall="False" monospace="0.0">{ l1:a1:MOMHe_n_rel(x1),</doubt><doubt alpha="41.2" length="51" tooSmall="False" monospace="0.0">l2:a4:HeTa_v_rel(e1) }, { a4:ARG1(x1), a4:ARG2(x2),</doubt><doubt alpha="35.7" length="14" tooSmall="False" monospace="0.0">a4:ARG3(x3) },</doubt><p>Another example with an explicit direct object for the sentence <i>MOMne </i><i>My</i><i> neme Knma </i>(Boy him-dative reads book, 'A boy reads a book to</p><doubt alpha="50.0" length="6" tooSmall="False" monospace="0.0">him'):</doubt><doubt alpha="27.3" length="11" tooSmall="False" monospace="0.0">&lt; l2:a3:e1,</doubt><doubt alpha="50.0" length="22" tooSmall="False" monospace="0.0">l2:a3 :neTa_v_rel(e1),</doubt><doubt alpha="42.3" length="52" tooSmall="False" monospace="0.0">l3:a4:KHHra_n_rel(x2) }, { a3:ARG1(x1), a3:ARG2(x2),</doubt><doubt alpha="35.7" length="14" tooSmall="False" monospace="0.0">a3:ARG3(x3) },</doubt><p>A problematic case is the passive construction in which the arguments are represented as altern­ating dependency relations. In this case the lemma is consulted for the semantic presentation, and the indirect object relation is assigned as a PP-relation, which introduces the Subject.</p><p>The modifying words <i>(mod) </i>- adjectives, ad­verbs or nouns introduce a modifier relation. When the modifier is definite, then the informa­tion is treated only on the syntactic level. Thus, the head is considered semantically definite, and the information is divided between the two levels of analysis.</p><p>The complements of the copula need the in­formation from the morphosyntactic tag, since the adjective, adverb and PPs raise their INDEX to the semantically vacuous copula. In contrast to them, the nouns introduce a referential INDEX, which, however, is not raised to the copula.</p><p>When an auxiliary verb is recognized, which takes a participle as a complement, and then de­pending on the participle, the transfer is realized accordingly. For example, if the participle is aor­ist, then it is in active voice. If it is passive, then the semantics follows the strategy from above.</p><p>The transfer of the impersonal verbs into RMRS also relies on the morphosyntactic tags. They introduce a restriction on its subject to be pro-nominal, 3rd person, singular, neuter. The re­lation <i>xcomp </i>is transformed into a constraint, which ensures that the ARG1 of the modal qeqs the label of the verb in the da-construction (ana­lytical substitute form for the Old Bulgarian in­finitive).</p><p>Here is a simplified representation of the sen­tence <i>Tpnôea da </i><i>My</i><i> Kaz/ca. </i>(Must to him-dat tell-I, 'I have to tell him'):</p><page local="6" global="476"/><doubt alpha="27.3" length="11" tooSmall="False" monospace="0.0">&lt; l1:a1:e1,</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">{} &gt;</doubt><doubt alpha="47.1" length="51" tooSmall="False" monospace="0.0">{ l1:a1:TpaÔBa_v_rel(e1), l2:a4:Ka:»ca_v_rel(e2) },</doubt><doubt alpha="35.7" length="14" tooSmall="False" monospace="0.0">{ a1:ARG2(e2),</doubt><doubt alpha="37.0" length="27" tooSmall="False" monospace="0.0">a4:ARG1(x1), a4:ARG3(x2) },</doubt><p>The <i>xmod </i>relation connects a clause to a nom­inal head. When the clause is introduced by a rel­ative pronoun, its RMRS is incorporated in the RMRS of the head and the index introduced by the relative pronoun is made the same as the in­dex of the head. In cases when the clause is not introduced by a relative clause the event index of the clause is nominalised and the new referencial index is made the same as the index of the head.</p><p>The <i>xsubj </i>relation is incorporated in the head RMRS depending on the kind of the dependent clause. If it is a relative clause then the index of the relative pronoun is made equal to the index introduced by the unexpressed subject of the head. In the other cases the event represented by the clause is nominalized and the new referential index is made equal to the index of the unex­pressed subject of the head.</p><p>The <i>marked </i>relation is always connected to a subordinate conjunction. The subordinate con­junction introduces a two argument relation, where both arguments are events. In this case the RMRS of the dependent clause is added to the RMRS assigned to the conjunction. Additionally, the index of the second argument is made equal to the index of the dependent clause.</p><p>The <i>xprepcomp </i>relation is treated as an ordin­ary <i>prepcomp </i>relation, but the index of ARG1 is an event.</p><p>The canonical coordination is handled relat­ively straightforwardly. The <i>conj </i>label introduces a coordination relation, and <i>conjarg </i>is mapped to the right index R-INDEX. Then, the left index L-INDEX is taken by the above level, which con­tains the grammatical role of the whole coordina­tion phrase.</p><p>The <i>pragadjunct </i>introduces different types of modifiers on pragmatic level like vocatives, par­enthetical expressions, etc. For the moment, we incorporate the RMRS of the dependent element in the RMRS of the head without additional con­straints, but these cases require more work in fu­ture.</p><p>The relation <i>punct </i>is ignored.</p><p>The incorporation of the dependent RMRS into the head RMRS is done recursively from the leaves of the tree up. After the construction of the RMRS of the tree root, we need to add the missing quantifiers for the unbound referential indexes. For each such index the algorithm de­termines the handle with a widest scope and uses it as a RSTR argument.</p><p>Here is a pseudo code of the main algorithm RMRS which selects the root of the input tree and calls the recursive function which calculates the RMRS for the sentence:</p><p>algorithm <b>rmrs Input: </b><i>DTree </i>(dependency tree in CoNLL format) <b>Output: </b>&lt; <i>hook, EP-bag, argument set, handle constraints </i>&gt; (RSMS structure for the sentence) <i>RootNode — </i>root(DTree) setEnumerators() <i>RMRS — </i>nodeRMRS(DTree, <i>RootNode) </i>return addQuantifiers(RMRS) endalgorithm</p><p>The function root(DTree) selects the root of the tree. The function nodeRMRS(DTree, <i>Node) </i>constructs recursively RMRS structure for the subtree starting at node <i>Node. </i>The subtree is part of the whole tree for the sentence - <i>DTree. </i>The function setEnumerators() sets the initial num­bers for labels, referential and event variables. For anchors we use the token numbers that are already in the CoNLL format of the dependency tree. The function addQuantifiers(RMRS) intro­duces the missing quintifiers in the final RMRS. Here is the pseudo code for the function:</p><p>function <b>nodeRMRS</b><i>(DTree, CurrentNode) NodeEP — </i>nodeEP(DTree, <i>CurrentNode) </i>for <i>DNode </i>in depNodes<i>(DTree, CurrentNode) DNodeRMRS — </i>nodeRMRS(DTree, <i>DNode) DRel — </i>nodeRel(DTree, <i>DNode) NodeEP — </i>union(NodeEP, <i>DNodeRMRS, DRel) </i>endfor return <i>NodeEP </i>endfunction</p><p>This function first calls the function for con­structing RMRS for the elementary predication for the current node in the dependency tree -nodeEP(DTree, <i>CurrentNode). </i>This function im­plements the first kind of rules mentioned above. It has access to the lemma and the grammatical information for the current node. The predicate name is constructed on the basis of the lemma and the part of speech (for example, HeTa_v_rel), the argument type is determined on the basis the grammatical information - event or referential index. Additional information can be added for other arguments of the verbs as it was described above. In case of access to a lexicon, the function will be tuned to the information within the lex­icon. This will be relevant for the case of the valency lexicon.</p><page local="7" global="477"/><p>The function depNodes<i>(DTree, CurrentNode) </i>returns a set of nodes in the tree which are de­pendent of the current node. For each of them the function nodeRMRS<i>(DTree, Node) </i>is called. The result of this recursive call is incorporated within the current RMRS on the basis of the depend­ency relations. This is done by the function uni-<i>on(NodeEP, DNodeRMRS, DRel). </i>This function is defined by the second kind of rules described above. Note that all the relevant information is available in the already constructed RMRS struc­tures for the head node as well as the dependent nodes and the type of the relations.</p><p>The rules of the first kind are 118. They cor­respond to a reduced morphosyntactic tagset of (Simov et al. 2004). The rules of the second kind are 53. The construction of these rules follows the statistics, presented in section 3. We first im­plemented rules for most frequent combinations. As much as we can not be sure that the treebank contains examples of all possible combinations we implement 'catch all' which just construct the union of the sets within the two RMRSes.</p></section><section number="6" title="Evaluation"><p>We do not have a gold standard corpus of de­pendency trees with manually constructed RMRS. Thus, we cannot determine a real evalu­ation of the performance of the proposed al­gorithm. However, we have a dataset covered by BURGER grammar for which the correct ana­lyses, including MRS, are selected. Therefore, we decided to evaluate the algorithm with re­spect to this dataset.</p><p>First, we annotated the sentences in the dataset as dependency trees. Then, we ran the parser over the sentences and manually corrected the result. Next, we applied the algorithm over the resulting trees and produced the RMRS for each dependency tree. In the same time, we trans­ferred the MRS, constructed by BURGER into</p><p>RMRS representations.</p><p>Comparing the two RMRS structures for the same sentence is done by comparing the inform­ation related to each index in the RMRS. Intuit­ively, the expectation was that the RMRS con­structed on the base of the dependency analysis would contain less information than the one pro­duced by BURGER. Intuitively, less information here means that the indexes participate in re­duced number of relations; the relations have smaller number of arguments; and also smaller number of handle constraints. Needless to say, the relations, arguments and constraints have to be identical when present in both structures.</p><p>The actual comparison was performed by con­structing of a mapping from indexes, labels, an­chors and handles in one of the RMRS into the indexes, labels and handles in the other one. The mapping has to respect the type of the indexes.</p><p>Let RMRS-D be the structure produced from the dependency tree and let RMRS-B be the structure produced by BURGER. If there exists a mapping from RMRS-D into RMRS-B such that:</p><p>• for each index <b>i, </b>each anchor <b>a, </b>each la­bel <b>l </b>and each relation <b>r </b>such that l:a:r(i) is in RMRS-D then for the correspond­ing label l', anchor a' and index i' it is true that l':a':r(i') is in RMRS-B;</p><p>• for each anchor <b>a, </b>each index <b>i </b>and ar­gument <b>ARG </b>such that a:ARG(i) is in RMRS-D then for the corresponding an­chor a' and index i' it is true that a':ARG(i') is in RMRS-B;</p><p>• for each handle <b>h </b>and each label <b>l </b>such that <b>h =q l </b>is in RMRS-D then for the corresponding handle h' and label l' it is true that h' =q l' is in RMRS-B; and</p><p>• if l':a':i' is the hook of RMRS-B and for at least one of its elements there is a mapping from a corresponding element in RMRS-D, then there are mappings for all elements and original triple l:a:i</p><p>is the hook of RMRS-D.</p><p>then we say that RMRS-D is substructure of RMRS-B. The last condition is very strong and is subject to further refinement. But in our work with this example dataset it has not caused any troubles. In all other cases we say that both struc­tures are incompatible.</p><p>On the basis of the dataset covered by BUR­GER (193 sentences) we achieved 77% of com­patibility of RMRSes.</p><p>The main sources of incompatibility are: rela­tion names and principles of BURGER. In the case of the relation names, it could happen that in BURGER there are more relation names that share a lemma string. For example, TpaÔBa_v_1_rel and TpaÔBa_v_2_rel is represen­ted in dependency RMRS as Tpa6Ba_v_rel. In BURGER there are some cases when the subor­dinate conjunction is incorporated in the clause RMRS, but in the dependency we do not have such a rule. In the first case the wrong match is acceptable in our opinion as much as we do not have access to a lexicon for most of the lemmas in the sentences. For the second case we have to modify the rules in the algorithm.</p><page local="8" global="478"/></section><section number="7" title="Conclusion"><p>In this paper we presented an algorithm for trans­ferring of information from dependency parses into RMRS. This information will be used in a Bulgarian-English machine translation system when the HPSG grammar fails to produce an analysis. We hope that the algorithm will pro­duce the right number and types of indexes with appropriate relations between them which to al­low the addition of missing information on the basis of statistics over a parallel treebank.</p><p>The algorithm needs augmentation with a rich lexicon and a more elaborate treatment of some constructions for the production of appropriate RMRS. These resources are under development.</p><p>We have to say that an evaluation with more examples is necessary, because the 193 do not demonstrate all the dependency relations in the dependency tagsets. Another task which is under development is the creation of a gold corpus of manually annotated RMRS structures.</p></section><section number="8" title="Acknowledgments"><p>This work has been supported by the European project EuroMatrixPlus (IST-231720).</p></section><references><p>Bender, Flickinger and Oepen. 2002: E. Bender, D. Flickinger and S. Oepen. <i>The Grammar Matrix: An Open-Source Starter-Kit for the Rapid Develop­ment of Cross-Linguistically Consistent Broad-Coverage Precision Grammars. </i>Carroll, John, Nel-leke Oostdijk, and Richard Sutcliffe, eds. Pro-ced-ings of the Workshop on Grammar Engineer­ing and Evaluation at the 19th International Con-fer-ence on Computational Linguistics. Taipei, Tai­wan. pp. 8-14.</p><p>E. Bender, Scott Drellishak, Antske Fokkens, Laurie Poulson and Safiyyah Saleem. 2010. <i>Grammar Customization. </i>In Research on Language and Computation, volume 8, issue 1. Springer.</p><p>Francis Bond, Stephan Oepen, Melanie Siegel, Ann Copestake and Dan Flickinger. 2005. <i>Open Source Machine Translation with DELPH-IN. </i>In: Proceed­ings of the Open-Source Machine Translation Workshop at the 10th Machine Translation Sum­mit. pp 15-22.</p><p>Bojar, Ondrej and Hajic, Jan. 2008. Phrase-based and deep syntactic English-to-Czech statistical machine translation. In: StatMT '08: Proceedings of the Third Workshop on Statistical Machine Transla­tion. pp. 143--146.</p><p>Ann Copestake, Dan Flickinger, Carl Pollard, and Ivan A. Sag. 2005. Minimal Recursion Semantics:</p><p>An Introduction. Research on Language and Com­putation, 3(4). pp 281-332.</p><p>Ann Copestake and Dan Flickinger. 2000. Open source grammar development environment and broad-coverage English grammar using HPSG. In Proceedings of the 2nd International Conference on Language Resources and Evaluation. pp 591-598.</p><p>Ann Copestake. 2003. Robust Minimal Recursion Se­mantics (working paper). http://www.cl.cam.ac.uk/~aac10/papers</p><p>Ann Copestake. 2007. <i>Applying Robust Semantics. </i>In Proceedings of the 10th Conference of the Pacific Assocation for Computational Linguistics (PAC-LING), pages 1-12, Melbourne, Australia.</p><p>Max Jakob, Lopatkovâ, M., Kordoni, V. 2010. <i>Map­ping between Dependency Structures and Compos­itional Semantic Representations. </i>In: Proceedings of the Seventh conference on International Lan­guage  Resources  and  Evaluation (LREC'10),</p><p>ELRA.</p><p>Stanislava Kancheva. 2010. <i>Representation of the Grammatical Roles for Bulgarian in the Depend­ency Grammar. </i>(unpublished Master Thesis). In Bulgarian.</p><p>Joakim Nivre, Johan Hall, Jens Nilsson. 2006. <i>Malt-Parser: A data-driven parser-generator for de­pendency parsing. </i>In Proc. of LREC-2006. pp 2216-2219.</p><p>Stephan Oepen, Erik Velldal, Jan Tore Loenning, Paul Meurer, Victoria Ros'en and Dan Flickinger. 2007. <i>Towards Hybrid Quality-Oriented Machine Translation - On Linguistics and Probabilities in MT. </i>In: Proc. of the 11th Conference on Theoretic­al and Methodological Issues in MT.</p><p>Petya Osenova. 2010: <i>The Bulgarian Resource Gram­mar. </i>VDM.</p><p>Riezler, Stefan and Maxwell III, John T. 2006. <i>Gram­matical machine translation. </i>In: HLT-NAACL. pp 248-255.</p><p>Kiril Simov, Petya Osenova and Milena Slavcheva. 2004. <i>BTB-TR03: BulTreeBank Morphosyntactic Tagset. </i>BulTreeBank Technical Report N° 03.</p><p>Kathrin Spreyer and Anette Frank. 2005. <i>Projecting RMRS from TIGER Dependencies. </i>In Stefan Müller, editor, Proceedings of the 12th HPSG Con­ference, pages 354-363, Lisbon, Portugal.</p></references></body></article>