<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">Hi Andrew,<br>You're the best! I should remember when editing a file with vi, if there is no trailing space at the end of a line, the cursor should fall upon the last character rahter than behind it!<br><br><div id="divNeteaseMailCard"></div><br>At 2012-05-28 07:04:17,"Hardie,&nbsp;Andrew"&nbsp;&lt;a.hardie@lancaster.ac.uk&gt; wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">



<style><!--

_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;}

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;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Verdana","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
_page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>


<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Well the root problem is that the PHP function
<b>is_dir</b>() (see <a href="http://uk.php.net/is_dir">http://uk.php.net/is_dir</a>) is returning false for the directory, and I think I can see why. Is there stray whitespace at the end of the registry file line? If so, it needs to be removed.<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>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang="EN-US"> <a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a> [mailto:<a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a>]
<b>On Behalf Of </b>Ray Wu<br>
<b>Sent:</b> 27 May 2012 18:53<br>
<b>To:</b> Open source development of the Corpus WorkBench<br>
<b>Subject:</b> Re: RE: [CWB] Sample corpus for IMS Corpus Workbench<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">Hi Andrew,<br>
<br>
&gt;&gt;&gt;Not so re “only”. I have successfully indexed hundreds-of-millions-of-words through the web interface.<br>
Good news. So I can rely on the web browser for a majority of my corpora.<br>
<br>
&gt;&gt;&gt;I have made a small tweak to the regex that picks out the directory string, can you try it again?
<br>
I updated the admin file and went to the Where is the registry file page. I specified In the directory specified here:
<br>
/home/ray/Dickens/DICKENS-cqbweb-edition/registry<br>
<br>
I checked the existence and content of relevant file/folder:<br>
/home/ray/Dickens/DICKENS-cqbweb-edition$cat<br>
data registry<br>
/home/ray/Dickens/DICKENS-cqbweb-edition/registry$ cat dickens<br>
...<br>
ID dickens<br>
# data file directory (relative or absolute path)<br>
HOME /home/ray/Dickens/DICKENS-cqbweb-edition/data <br>
# optional info file (displayed by "info" command in CQP)<br>
INFO /home/ray/Dickens/DICKENS-cqbweb-edition/data/.info<br>
...<br>
<br>
After pressing Install corpus with settings above, I stumped on an error:<br>
CQPweb encountered an error and could not continue.<br>
The data directory specified in the registry file [/home/ray/Dickens/DICKENS-cqbweb-edition/data ] could not be found.<br>
<br>
The result seems a bit strange to me, though.<br>
<br>
Best <br>
Ray<o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
</div>


</blockquote></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>