<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Webdings;
        panose-1:5 3 1 2 1 5 9 6 7 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.arabic
        {mso-style-name:arabic;}
span.math
        {mso-style-name:math;}
span.textit
        {mso-style-name:textit;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Verdana","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">You are looking at an old version. Versions of the manual more recent than July this year have the following updated contents list for chapter 8:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal">8 Parallel corpus data 55 <o:p></o:p></p>
<p class="MsoNormal">8.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
<o:p></o:p></p>
<p class="MsoNormal">8.2 Setting up parallel corpora . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
<o:p></o:p></p>
<p class="MsoNormal">8.3 Naming alignment attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
<o:p></o:p></p>
<p class="MsoNormal">8.4 Creating alignment attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
<o:p></o:p></p>
<p class="MsoNormal">8.5 Registering alignment attributes with CQPweb . . . . . . . . . . . . . . . . . . . . . . 56
<o:p></o:p></p>
<p class="MsoNormal">8.6 How alignment attributes can be used . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
<o:p></o:p></p>
<p class="MsoNormal">8.7 Parallel corpora and user privileges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58<span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><a name="_MailEndCompose"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></a></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">If your code is fully updated to the repo, a copy with this content should be found under
<b>/doc</b> .<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">My own server’s copy is also up to date.
</span><a href="https://cqpweb.lancs.ac.uk/doc/CQPwebAdminManual.pdf"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">https://cqpweb.lancs.ac.uk/doc/CQPwebAdminManual.pdf</span></a><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">best<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Andrew<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> cwb-bounces@sslmit.unibo.it [mailto:cwb-bounces@sslmit.unibo.it]
<b>On Behalf Of </b>&quot;Andrés Chandía&quot;<br>
<b>Sent:</b> 17 October 2016 18:28<br>
<b>To:</b> andres@chandia.net; Open source development of the Corpus WorkBench<br>
<b>Subject:</b> [CWB] Manage parallel corpora?<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Sorry , I send it again with a proper subject....<br>
<br>
&nbsp;Hi Andrew, I asked you<br>
<br>
... I have seen there is a &quot;Manage parallel alignment&quot; it means there is a way now to install parallel corpora, how?<br>
<br>
And you answer me: &quot; Yes, parallel corpora are now supported. See manual chapter 8.&quot;<br>
<br>
But at the manual, the point dedicated to parallel corpora says:<br>
<br>
8.6 Field data mode as a workaround for parallel corpora: TODO<br>
<br>
<br>
At the online version, there is this:<br>
<br>
<span class="arabic">8</span> Sentence alignment <o:p></o:p></p>
<p><span class="textit">Describe sentence aligner, encoding of alignment attributes, and import of pre-existing alignment</span>&nbsp;<span style="color:#991A00">
</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">...?<br>
<br>
Thanks..<br>
<br>
<br>
On Mon, October 17, 2016 04:57, Hardie, Andrew wrote:<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">The code that generates this error is quite simple â€“ it’s just a mkdir calll:</span>
<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">if (! mkdir($datadir))</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">exiterror(&quot;CQPweb could not create a directory for the frequency index. Check filesystem permissions!&quot;);</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">There must be something at the system level stopping the directory being created (that is, the directory
 {$your_corpus_index_data_directory}/{$name_of_corpus}__freq<br>
)being created. If the directory is owned by www-data, perhaps you should check whether user has permission to write to this directory?</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">On the basis of the other issue you report, the problem may be that an earlier run of the frequency-table
 setup code has created a __freq directory that cannot<br>
be deleted. Then, mkdir fails, because the directory already exists (because it could not be deleted).</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">The message â€œhas already been createdâ€</span><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&#157;</span><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">
 indicates that that __freq directory does exist (which should only be the case if frequency table setup was successful).</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">My advice: manually remove the __freq corpus (its data directory and registry file). Then check all
 relevant filesystem permissions. Then, once you’re sure<br>
they are correct run frequency list setup from scratch.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">If in doubt use offline freqlists instead of the interface buttons; that may give more informative
 error messages if there is still a problem.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">best</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Andrew.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><strong><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></strong><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
 &quot;Andrés Chandía&quot; [mailto:andres@chandia.net]<br>
<br>
<strong><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Sent:</span></strong> 13 October 2016 20:05<br>
<strong><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">To:</span></strong> Hardie, Andrew<br>
<strong><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Cc:</span></strong> Open source development of the Corpus WorkBench<br>
<strong><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Subject:</span></strong> CQPweb could not create a directory for the frequency index</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I get this error when I try to &quot;Cretate the CWB Frequency table&quot;<br>
CQPweb could not create a directory for the frequency index. Check filesystem permissions!<br>
<br>
But there is no error for text position records or frequency tables,<br>
<br>
directories: registry, data and cqpweb are all owned: www-data:www-data<br>
<br>
but then if I refresh the Corpus frequency list controls page, I can see: The text-by-text list for this corpus<br>
<strong>has already been created</strong>.<br>
<br>
<br>
Another problem that I still have is the creation of new users:<br>
<br>
A MySQL query did not run successfully!<br>
<br>
Original query: INSERT INTO user_info ( username, realname, email, passhash, acct_status, expiry_time, acct_create_time, conc_kwicview, conc_corpus_order, cqp_syntax, context_with_tags, use_tooltips,<br>
<br>
thin_default_reproducible, coll_statistic, coll_freqtogether, coll_freqalone, coll_from, coll_to, max_dbsize, linefeed ) VALUES ( 'jhuser', 'unknown person', 'jhuser@upf.edu',<br>
'$2a$11$......................yl0Kl8h3xhUATbrHP7sKOq.GXmLA0AS', 0, 0, CURRENT_TIMESTAMP, 1, 1, 0, 0, 1, 1, , 5, 5, -3, 3, 1000000, 'au' ) /* from User: admin | Function: do_append_mysql_comment() | 2016-Oct-13 19:02:22 */<br>
<br>
Error # 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 5, 5, -3, 3, 1000000, 'au' ) /* from User: admin |<br>
<br>
Function: do' at line 38<br>
<br>
<br>
Thanks<br>
_______________________<br>
andrés chandía<br>
<a href="http://www.chandia.net" target="_blank" title="This external link will open in a new window"><span style="border:solid windowtext 1.0pt;padding:0cm;text-decoration:none"><img border="0" width="100" height="100" id="_x0000_i1049" src="cid:~WRD000.jpg" alt="Image removed by sender. chandia.net"></span></a><a href="https://twitter.com/andreschandia" target="_blank" title="This external link will open in a new window"><span style="border:solid windowtext 1.0pt;padding:0cm;text-decoration:none"><img border="0" width="100" height="100" id="_x0000_i1050" src="cid:~WRD000.jpg" alt="Image removed by sender."></span></a><br>
<a href="http://chandia.net/content/nmt" target="_blank" title="This external
link will open in a new window">NMT</a> |<br>
<a href="http://chandia.net/content/dungupeyem" target="_blank" title="This external link will open in a new
window"><br>
Dungupeyem</a> | <a href="http://chandia.net/corlexim" target="_blank" title="This external link will open in a new window">
<br>
Corlexim</a><br>
<br>
administrador de:<br>
<a href="http://parles.upf.edu" target="_blank" title="This external link will
open in a new window">Parles.upf</a> |
<a href="http://www.delingua.es" target="_blank" title="This external link will open in a new window">
<br>
Delingua</a> | <a href="http://amindterapia.com" target="_blank" title="This external link will open in a new window">
Amind terapia</a> | <a href="http://koyaktumapuche.net" target="_blank" title="This external
link will open in a new window">
<br>
Mapuche koyaktu</a> | <a href="http://parles.upf.edu/llocs/nocando" target="_blank" title="This external link will open in a new
window">
Nocando</a> |<br>
mail: <a href="http://mail.corporacionkoyaktu.net" target="_blank" title="This external link will open in a new window">
ONG Mapuche koyaktu</a> | <a href="http://mail.psicoaching.net" target="_blank" title="This external link will open in a new window">
<br>
Psicoaching</a> |<br>
<span style="font-size:18.0pt;font-family:Webdings;color:#4F6228">P </span><span style="font-size:10.0pt">No imprima innecesariamente. Â¡Cuide el medio ambiente!</span><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<p class="MsoNormal"><br>
<br>
<br>
<br>
<br>
_______________________<br>
andrés chandía<br>
<a href="http://www.chandia.net" target="_blank" title="This external link
will open in a new window"><span style="border:solid windowtext 1.0pt;padding:0cm;text-decoration:none"><img border="0" width="100" height="100" id="_x0000_i1051" src="cid:~WRD000.jpg" alt="Image removed by sender. chandia.net"></span></a><a href="https://twitter.com/andreschandia" target="_blank" title="This external link
will open in a new window"><span style="border:solid windowtext 1.0pt;padding:0cm;text-decoration:none"><img border="0" width="100" height="100" id="_x0000_i1052" src="cid:~WRD000.jpg" alt="Image removed by sender."></span></a><br>
<a href="http://chandia.net/content/nmt" target="_blank" title="This external link will open in a new window">NMT</a> |
<a href="http://chandia.net/content/dungupeyem" target="_blank" title="This external
link will open in a new window">
Dungupeyem</a> | <a href="http://chandia.net/corlexim" target="_blank" title="This external link will open in a new window">
Corlexim</a><br>
<br>
administrador de:<br>
<a href="http://parles.upf.edu" target="_blank" title="This external link will open in a new window">Parles.upf</a> |
<a href="http://www.delingua.es" target="_blank" title="This external link will open in a new
window">
Delingua</a> | <a href="http://amindterapia.com" target="_blank" title="This external
link will open in a new window">
Amind terapia</a> | <a href="http://koyaktumapuche.net" target="_blank" title="This external link will open in a new window">
Mapuche koyaktu</a> | <a href="http://parles.upf.edu/llocs/nocando" target="_blank" title="This external link will open
in a new window">
Nocando</a> |<br>
mail: <a href="http://mail.corporacionkoyaktu.net" target="_blank" title="This external link will open in a new window">
ONG Mapuche koyaktu</a> | <a href="http://mail.psicoaching.net" target="_blank" title="This external link will open in a
new window">
Psicoaching</a> |<br>
<span style="font-size:18.0pt;font-family:Webdings;color:#4F6228">P </span><span style="font-size:10.0pt;color:#4F6228">No imprima innecesariamente. ¡Cuide el medio ambiente!</span>
<br>
<br>
<br>
_______________________<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;andrés chandía<br>
<a href="http://www.chandia.net" target="_blank"><span style="border:solid windowtext 1.0pt;padding:0cm;text-decoration:none"><img border="0" width="100" height="100" id="_x0000_i1053" src="cid:~WRD000.jpg" alt="Image removed by sender. chandia.net"></span></a><a href="https://twitter.com/andreschandia" target="_blank"><span style="border:solid windowtext 1.0pt;padding:0cm;text-decoration:none"><img border="0" width="100" height="100" id="_x0000_i1054" src="cid:~WRD000.jpg" alt="Image removed by sender."></span></a><br>
<a href="http://chandia.net/content/nmt" title="Unificador ortogràfico de mapudungun">NMT</a> |
<a href="http://chandia.net/content/dungupeyem" title="Analizador y generador mofológico de
mapudungun">
Dungupeyem</a> | <a href="http://chandia.net/corlexim" title="Corpus lexicográfico
de mapudungun">
Corlexim</a><br>
<br>
administrador de:<br>
<a href="http://parles.upf.edu">Parles.upf</a> | <a href="http://www.delingua.es">
Delingua</a> | <a href="http://amindterapia.com">Amind terapia</a> | <a href="http://koyaktumapuche.net">
Mapuche koyaktu</a> | <a href="http://parles.upf.edu/llocs/nocando">Nocando</a> |<br>
mail: <a href="http://mail.corporacionkoyaktu.net">ONG Mapuche koyaktu</a> | <a href="http://mail.psicoaching.net">
Psicoaching</a> |<br>
<span style="font-size:18.0pt;font-family:Webdings;color:#4F6228">P </span><span style="font-size:10.0pt">No imprima innecesariamente. ¡Cuide el medio ambiente!</span><o:p></o:p></p>
</div>
</body>
</html>