<div dir="ltr">Hi Megha,<div><br></div><div>I&#39;m afraid I don&#39;t know offhand a good tool for German morphological analysis. Surely some exist, but I don&#39;t work with German data enough to offer a recommendation. Perhaps someone on the developers list (re-CC&#39;d, again) knows more than me.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 16, 2017 at 12:30 AM, megha jain <span dir="ltr">&lt;<a href="mailto:jain11megha@gmail.com" target="_blank">jain11megha@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hello.<br><br></div>Can you let me know tool which does German morphological analysis?<br></div>Please share the link.<br><br></div>Thank You.<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 23, 2017 at 1:36 PM, Michael Wayne Goodman <span dir="ltr">&lt;<a href="mailto:goodmami@uw.edu" target="_blank">goodmami@uw.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Megha,<div><br></div><div>As described in the top paragraph of the command-line tutorial (<a href="https://github.com/delph-in/pydelphin/wiki/Command-line-Tutorial" target="_blank">https://github.com/delph-in/p<wbr>ydelphin/wiki/Command-line-Tut<wbr>orial</a>), the `delphin` command will be available on your system if you installed PyDelphin via pip (e.g. `pip install pydelphin`). If you instead cloned the repository, the command is `delphin.sh` in the top PyDelphin directory.</div><div><br></div><div><br></div></div><div class="m_-4701757792776882233HOEnZb"><div class="m_-4701757792776882233h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 22, 2017 at 11:17 PM, megha jain <span dir="ltr">&lt;<a href="mailto:jain11megha@gmail.com" target="_blank">jain11megha@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello.<br><br></div><div>I want to know what is delphin path in below command:<span><br>sed &#39;s/--/__/g&#39; dmrs.txt | delphin convert --from dmrx --to simplemrs | sed &#39;s/__/--/g&#39;<br><br></span></div><div>When I gave path home=&gt;pydelphin=&gt;delphin it doesn&#39;t find it.<br><br></div><div>Thank You.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 23, 2017 at 11:16 AM, megha jain <span dir="ltr">&lt;<a href="mailto:jain11megha@gmail.com" target="_blank">jain11megha@gmail.com</a>&gt;</span> wrote:<div><div class="m_-4701757792776882233m_-6410701545420632820h5"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701HOEnZb"><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701h5"><div dir="ltr"><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Stephan Oepen</b> <span dir="ltr">&lt;<a href="mailto:oe@ifi.uio.no" target="_blank">oe@ifi.uio.no</a>&gt;</span><br>Date: Thu, Feb 23, 2017 at 3:21 AM<br>Subject: Re: [developers] Regarding to German sentence analysis.<br>To: Ann Copestake &lt;<a href="mailto:aac10@cl.cam.ac.uk" target="_blank">aac10@cl.cam.ac.uk</a>&gt;, Michael Wayne Goodman &lt;<a href="mailto:goodmami@uw.edu" target="_blank">goodmami@uw.edu</a>&gt;<br>Cc: developers &lt;<a href="mailto:developers@delph-in.net" target="_blank">developers@delph-in.net</a>&gt;, megha jain &lt;<a href="mailto:jain11megha@gmail.com" target="_blank">jain11megha@gmail.com</a>&gt;<br><br><br><div><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">dear all,</div><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"></div><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">no need to add VPM rules which unconditionally delete: that will be the default behavior for any variable properties for which no mapping is defined.  mike, could you update your addition to RmrsVpm in this light?</div><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"></div><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">however, GG has explicit VPM rules for --PSV and several others that start in double hyphens, so it would seem berthold actually wants these in the external interface.</div><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"></div><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">i too was under the impression that the double-hyphen prefix typically indicates something grammar-internal, but that could just be an ERG-specific convention.</div><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br></div><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">either way, it would seem sad to formally disallow initial hyphens in MRS variable properties because they cause problems for some serializations of some derived representations.  i would rather look for a backwards-compatible extension of the DMRX and RMRX schemas then, to deal with the full range of identifiers supported in grammars and native MRSs.</div></div><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br></div><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">all best, oe</div><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303HOEnZb"><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303h5"><div><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"></div><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><div class="gmail_quote m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">On Wed 22 Feb 2017 at 19:17 Michael Wayne Goodman &lt;<a href="mailto:goodmami@uw.edu" class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg" target="_blank">goodmami@uw.edu</a>&gt; wrote:<br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"></div><blockquote class="gmail_quote m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">Thanks, Ann. Francis said (offline) something similar about those being grammar-internal properties. I&#39;ve updated the RmrsVpm wiki with an example of how to remove them via a VPM (<a href="http://moin.delph-in.net/RmrsVpm#Corner_Cases" class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg" target="_blank">http://moin.delph-in.net/Rmrs<wbr>Vpm#Corner_Cases</a>). Is there any better place to document this information?</div><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"></div><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">And I also thought it might affect MRS&#39;s XML format as well, but then I remembered that property names are stored as element text instead of attribute names, so they don&#39;t suffer the same problem:</div><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"></div><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">...</div><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">&lt;extrapair&gt;&lt;path&gt;--PSV&lt;/path&gt;&lt;<wbr>value&gt;non-apsv&lt;/value&gt;&lt;/extrap<wbr>air&gt;<br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"></div><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">...</div><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"></div><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">It would affect the RMRX format, though.</div></div><div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><div class="gmail_extra m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><div class="gmail_quote m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">On Feb 22, 2017 04:42, &quot;Ann Copestake&quot; &lt;<a href="mailto:aac10@cl.cam.ac.uk" class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg" target="_blank">aac10@cl.cam.ac.uk</a>&gt; wrote:<br type="attribution" class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><blockquote class="gmail_quote m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
    <p class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">from memory, the interpretation of the &quot;--&quot; was intended to be
      that this was something that should not appear in the external MRS</p>
    <p class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">in any case, it wouldn&#39;t be a DMRS issue, as such, since
      presumably it could apply to any of the MRS XML formats</p>
    <p class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">All best,</p>
    <p class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">Ann<br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
    </p>
    <br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
    <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628m_8079907655099652921m_-4966240429893746415gmail-m_-6197449233122389341m_-1723262010466248444moz-cite-prefix m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">On 21/02/17 20:21, Michael Wayne
      Goodman wrote:<br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
    </div>
    <blockquote type="cite" class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
      <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
        <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">Ann:</div>
        <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"> Does the LKB do anything special regarding properties like
          --PSV when reading/writing DMRX? They aren&#39;t ill-formed in the
          SimpleMRS format, so I&#39;m wondering if PyDelphin should attempt
          to do anything special for these.</div>
        <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
        </div>
        <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">Megha:</div>
        <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">  I just thought of another alternative. You can serialize
          to the DMRS-JSON format instead of DMRX. JSON doesn&#39;t have the
          same attribute name constraints as XML. The process is
          slightly different. Here is MRS-&gt;DMRS-JSON conversion:</div>
        <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
        </div>
        <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">    import json</div>
        <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">    from delphin.mrs import simplemrs</div>
        <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">    from delphin.mrs.xmrs import Dmrs</div>
        <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
          <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">    print(</div>
          <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">        json.dumps(</div>
          <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">           
            Dmrs.from_xmrs(simplemrs.load_<wbr>one(source)).to_dict()</div>
          <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">        )</div>
          <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">    )</div>
        </div>
        <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
        </div>
        <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">(the Dmrs.from_xmrs(...) bit is just for Python2
          compatibility. In Python3, you can just do:
          Dmrs.to_dict(simplemrs.loads_o<wbr>ne(source)))</div>
        <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
        </div>
        <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">DMRS-JSON -&gt; MRS conversion is similar:</div>
        <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
        </div>
        <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">    ...</div>
        <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
          <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">    print(</div>
          <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">        simplemrs.dumps_one(</div>
          <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">            Dmrs.from_dict(json.load(sourc<wbr>e))</div>
          <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">        )</div>
          <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">    )  </div>
        </div>
        <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
        </div>
        <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">These methods require PyDelphin v0.6.0 (the latest
          release).</div>
      </div>
      <div class="gmail_extra m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
        <div class="gmail_quote m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">On Tue, Feb 21, 2017 at 11:35 AM,
          Michael Wayne Goodman <span class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">&lt;<a href="mailto:goodmami@uw.edu" class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg" target="_blank">goodmami@uw.edu</a>&gt;</span> wrote:<br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
          <blockquote class="gmail_quote m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
            <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">Hi Megha,
              <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
              </div>
              <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">(I&#39;ve re-CC&#39;d the developers list so they can benefit
                or contribute; please include them in follow-up replies)<br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                </div>
                <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">Thanks for clarifying.</div>
              </div>
              <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
              </div>
              <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">When you do MRS -&gt; DMRS conversion in your script,
                it is essentially this:</div>
              <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
              </div>
              <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">    print(dmrx.dumps(simplemrs.loa<wbr>d(source)))</div>
              <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
              </div>
              <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">This loads the simplemrs-encoded source (e.g. a file
                or sys.stdin; or use simplemrs.loads() for a string
                argument) into the internal *MRS representation, then
                the dmrx codec serializes the internal representation to
                DMRX. Doing DMRS -&gt; MRS conversion is the same, but
                reversed:</div>
              <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
              </div>
              <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">    print(simplemrs.dumps(dmrx.loa<wbr>d(source)))</div>
              <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
              </div>
              <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">(More technically, the dmrx and simplemrs codecs
                decode the text streams/strings and instantiate the
                Dmrs() and Mrs() classes, respectively, in the
                delphin.mrs.xmrs module. It is these classes (and not
                the codecs themselves) that do the actual conversion
                into the internal format.)</div>
              <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
              </div>
              <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">However, there is a problem with the GG grammar and
                DMRS. The variable properties prefixed by &quot;--&quot; (e.g.
                &quot;--PSV&quot;) cause errors when loading a DMRS. This is
                because the hyphen is not a valid initial character in
                an XML attribute name (<a href="https://www.w3.org/TR/REC-xml/#NT-NameStartChar" class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg" target="_blank">https://www.w3.org/TR/REC-xml<wbr>/#NT-NameStartChar</a>).
                It is Python&#39;s XML parser, and not PyDelphin, that is
                failing to load the DMRX instance. I suggest doing one
                of the following:</div>
              <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
              </div>
              <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"> 1. Change the attribute names in the GG grammar</div>
              <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
              </div>
              <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"> 2. In your conversion script, find and replace these
                attributes on the MRS before converting to DMRS, and
                change them back in DMRS-&gt;MRS conversion. You may use
                underscores (e.g. &quot;__PSV&quot;) as the initial character,
                according to the XML spec.</div>
              <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
              </div>
              <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">Does this help?</div>
            </div>
            <div class="gmail_extra m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
              <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628m_8079907655099652921m_-4966240429893746415gmail-m_-6197449233122389341m_-1723262010466248444h5 m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                  <div class="gmail_quote m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">On Tue, Feb 21, 2017 at 1:13
                    AM, megha jain <span class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">&lt;<a href="mailto:jain11megha@gmail.com" class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg" target="_blank">jain11megha@gmail.com</a>&gt;</span>
                    wrote:<br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                    <blockquote class="gmail_quote m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                      <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                        <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                          <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                            <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                              <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                                <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                                  <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                                    <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                                      <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">Hello Michael.<br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                                        <br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                                      </div>
                                      I know usage of Pydelphin so able
                                      to implement via this.<br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                                      <br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                                    </div>
                                    I want to know which python code is
                                    being used by you to convert German
                                    DMRS into German MRS again?<br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                                    <br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                                  </div>
                                  So that this MRS can be given ACE to
                                  generate corresponding German
                                  sentence.<br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                                  <br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                                </div>
                                I am able to process : German sentence
                                =&gt; MRS<br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                              </div>
                                                            <wbr>   MRS
                              =&gt; DMRS<br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                            </div>
                                                          <wbr>   DMRS
                            =&gt; MRS (that is my concern)<br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                            <br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                          </div>
                          <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">EXAMPLE :-(A.)  INPUT : Abrams bellte
                            sehr leise.</div>
                          <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                            (B.) When I gave above one sentence to ACE ,
                            It generated following MRS :-<br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                            (command used : ./ace -g ggp.dat -1Tf
                            input_file.txt)<br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                            <br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                          </div>
                          <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">Following file is attached below.<br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                          </div>
                          <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                          </div>
                          <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">(C) I gave this MRS as an input to
                            mrs_to_dmrs-pp.py pyhon code and
                            corresponding DMRS generated.<br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                          </div>
                          <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">Following file is attached below.<br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                            <br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                          </div>
                          <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">(D.) After this I want to convert
                            corresponding DMRS into MRS . Which python
                            code comes in use for this approach?<br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                          </div>
                          <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                            <br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                          </div>
                          Hopefully I am able to make you understand
                          what is my concern.<br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                          <br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                        </div>
                        Thank You.<br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                        <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                          <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                            <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                              <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                                <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                                  <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                                    <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                  <br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                  <br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg" clear="all">
                  <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                  </div>
                </div>
              </div>
              <span class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628m_8079907655099652921m_-4966240429893746415gmail-m_-6197449233122389341m_-1723262010466248444HOEnZb m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><font class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg" color="#888888">-- <br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                  <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628m_8079907655099652921m_-4966240429893746415gmail-m_-6197449233122389341m_-1723262010466248444m_-4721760205035595285gmail_signature m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
                    <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">Michael Wayne Goodman
                      <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">Ph.D. Candidate, UW Linguistics</div>
                    </div>
                  </div>
                </font></span></div>
          </blockquote>
        </div>
        <br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
        <br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg" clear="all">
        <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg"><br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
        </div>
        -- <br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
        <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628m_8079907655099652921m_-4966240429893746415gmail-m_-6197449233122389341m_-1723262010466248444gmail_signature m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
          <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">Michael Wayne Goodman
            <div class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">Ph.D. Candidate, UW Linguistics</div>
          </div>
        </div>
      </div>
    </blockquote>
    <br class="m_-4701757792776882233m_-6410701545420632820m_3849106538657160701m_8362578133253693303m_6217573972246957628gmail_msg">
  </div>

</blockquote></div></div>
</div></blockquote></div></div></div>
</div></div></div><br></div>
</div></div></blockquote></div></div></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-4701757792776882233m_-6410701545420632820gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Michael Wayne Goodman<div>Ph.D. Candidate, UW Linguistics</div></div></div>
</div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Michael Wayne Goodman<div>Ph.D. Candidate, UW Linguistics</div></div></div>
</div>