<div>I have aligned the corpus this way:</div>
<div><br /></div>
<div>cwb-align -r registry/ -o txtgmmdes_es.align txtgmmdes_es txtgmmdes_md s_id<br /></div>
<div>cwb-regedit -r registry/ TXTGMMDES_ES :add :a txtgmmdes_md</div>
<div>cwb-align-encode -r registry/ -D txtgmmdes_md.align</div>
<div><br /></div>
<div>and then the other way around for the parallel corpus<br /></div>
<div><br /></div>
<div>then, at doing</div>
<div>cwb-align-decode -r registry/ TXTGMMDES_MD -A s_id</div>
<div>I get</div>
<div>cwb-align-decode: Can't access a-attribute &lt;TXTGMMDES_MD.s_id&gt;<br /></div>
<div><br /></div>
<div>So I've changed the Alignment attribute from s_id to s, but the result was the same. eventhough the s_id or s attributes appeared respectively at the align files as the used attributes<br /></div>
<div><br /></div>
<div><br /></div>
<div><br /></div>
<div><br /></div>
<div><br /></div>
El Jue, 27 de Diciembre de 2018, 13:58, Hardie, Andrew escribi&oacute;:<br /> <!-- begin sanitized html -->     <style type="text/css">-></style>
<div class="bodyclass">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#4472C4;mso-fareast-language:EN-US">The .align file is read as described in <strong>man cwb-align</strong>. </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#4472C4;mso-fareast-language:EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#4472C4;mso-fareast-language:EN-US">In brief, cols 1-4 are two pairs of cpos, where the first cpos pair = region in source and the second cpos pair = aligned region in  target: so what I&rsquo;m asking is, are the example sentences you sent with id=73 correctly represented by a line of cpos pairs in the a-attribute?</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#4472C4;mso-fareast-language:EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#4472C4;mso-fareast-language:EN-US">(You can also use cwb-align-decode to check that what is encoded is the same as what is in  your .align file.)</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#4472C4;mso-fareast-language:EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#4472C4;mso-fareast-language:EN-US">If the cpos pairs are <em>not</em> correct for that sentence alignment, then the problem is in the generation of the .align file. One point to note is that if you used <strong>cwb-align</strong> to generate the alignments (??), errors are to be expected for language pairs which share little or no vocab.</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#4472C4;mso-fareast-language:EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#4472C4;mso-fareast-language:EN-US">Best</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#4472C4;mso-fareast-language:EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#4472C4;mso-fareast-language:EN-US">Andrew.</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#4472C4;mso-fareast-language:EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#4472C4;mso-fareast-language:EN-US"> </span></p>
<p class="MsoNormal"><strong><span lang="EN-US">From:</span></strong><span lang="EN-US"> &quot;Andr&eacute;s Chand&iacute;a&quot;  <br /> <strong>Sent:</strong> 27<br />December 2018 11:47<br /> <strong>To:</strong> Hardie, Andrew <br /> <strong>Cc:</strong> Open source development of the Corpus WorkBench <br /> <strong>Subject:</strong> RE: [CWB] Short sentences inconsistent alignment</span></p>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Thanks for the answer, but how do I check that <span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#4472C4;mso-fareast-language:EN-US"> these s elements are really aligned with one another in the underlying a-attribute?</span></p>
</div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">If you mean to check the align files, how should they be read?, anyway, here they are (just in case):</p>
</div>
<div>
<table class="MsoNormalTable" cellpadding="0" border="0">
    <tbody>
        <tr>
            <td style="padding:.75pt .75pt .75pt .75pt" valign="top">
            <p class="MsoNormal"><span style="border:solid windowtext 1.0pt;padding:0cm">[IMAGE REMOVED]</span></a><br /> <a href="http://chandia.net/content/dungupeyem" title="Este enlace externo se abrirá en una nueva ventana" target="_blank">Dungupeyem</a> | <a href="http://chandia.net/content/iecmap" title="Este enlace externo se abrirá en una nueva ventana" target="_blank"> IECMap</a> | <a href="http://chandia.net/content/isecmap" title="Este enlace externo se abrirá en una nueva ventana" target="_blank"> ISECMap</a> | <a href="http://chandia.net/content/nmt" title="Este enlace externo se abrirá en una nueva ventana" target="_blank"> NMT</a> | <a href="http://corlexim.cl" title="Este enlace externo se abrirá en una nueva ventana" target="_blank"> Corlexim</a><br /> <br /> administrador de:<br /> <a href="http://parles.upf.edu" target="_blank" title="Este enlace externo se abrirá en una nueva ventana">Parles.upf</a> | <a href="https://iwch.upf.edu" title="Este enlace externo se abrirá en una nueva ventana" target="_blank"> IWCH</a> | <a href="http://amindterapia.com" target="_blank" title="Este enlace externo se abrirá en una nueva ventana">Amind terapia</a> | <a href="http://koyaktumapuche.net" target="_blank" title="Este enlace externo se abrirá en una nueva ventana"> ONG Mapuche koyaktu</a> | <a href="http://parles.upf.edu/llocs/nocando" target="_blank" title="Este enlace externo se abrirá en una nueva ventana">Nocando</a> | <a href="https://iac.upf.edu" target="_blank" title="Este enlace externo se abrirá en una nueva ventana">IAC</a> | <a href="https://iac.upf.edu/cddz" target="_blank" title="Este enlace externo se abrirá en una nueva ventana">CddZ</a> | <a href="https://iac.upf.edu/isac" target="_blank" title="Este enlace externo se abrirá en una nueva ventana">ISAC</a> | <a href="http://catcg.upf.edu" target="_blank" title="Este enlace externo se abrirá en una nueva ventana">CatCg</a><br /> <span style="font-size:18.0pt;font-family:Webdings">P</span> <span style="font-size:10.0pt"> No imprima innecesariamente. &iexcl;Cuide el medio ambiente!</span></p>
</div>
</div>
<!-- end sanitized html --> <br /><br /><br />_______________________<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;andr&eacute;s chand&iacute;a<br /><a href="http://www.chandia.net" target="_blank"><img src="http://mail.chandia.net/images/chandia_net.png" alt="chandia.net" border="0" /></a> <a href="https://twitter.com/chandianet" target="_blank"><img src="http://mail.chandia.net/images/ico_tw.png" width="20" height="20" alt="" /></a><br /><a href="http://chandia.net/content/dungupeyem" title="Analizador y generador mofológico de mapudungun">Dungupeyem</a> | <a href="http://chandia.net/content/iecmap" title="Interfaz de explotación de corpus del mapudungun">IECMap</a> | <a href="http://chandia.net/content/isecmap" title="Interfaz sencilla de explotación de corpus del mapudungun">ISECMap</a> | <a href="http://chandia.net/content/nmt" title="Unificador ortogràfico de mapudungun">NMT</a> | <a href="http://corlexim.cl" title="Corpus lexicográfico de mapudungun">Corlexim</a><br /><br />administrador de:<br /><a href="http://parles.upf.edu">Parles.upf</a> | <a href="https://iwch.upf.edu" title="Interfície Web de Consulta d'Horaris DTCL-FACTI UPF">IWCH</a> | <a href="http://amindterapia.com">Amind terapia</a> | <a href="http://koyaktumapuche.net">ONG Mapuche koyaktu</a> | <a href="http://parles.upf.edu/llocs/nocando">Nocando</a> | <a href="https://iac.upf.edu">IAC</a> | <a href="https://iac.upf.edu/cddz">CddZ</a> | <a href="https://iac.upf.edu/isac">ISAC</a> | <a href="http://catcg.upf.edu">CatCg</a><br /><span style="font-size: 18pt; color: rgb(79, 98, 40); font-family: Webdings;">P</span> <span style="font-size: 10pt; color: rgb(79, 98, 40);">No imprima innecesariamente. &iexcl;Cuide el medio ambiente!</span>