<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello Luca,<br>
<br>
We have also developed a client-server architecture based on CQi and<br>
CQPserver in Java, during a 3 years research project that is ending<br>
this December (See <a class="moz-txt-link-freetext" href="http://textometrie.ens-lyon.fr/?lang=en">http://textometrie.ens-lyon.fr/?lang=en</a>)<br>
<br>
We developed three different client side applications :<br>
- Eclipse RCP based for Windows and Linux (Mac prototype only)<br>
- Grails based for the web (See the current prototype at<br>
<a class="moz-txt-link-freetext" href="http://txm.risc.cnrs.fr/txm">http://txm.risc.cnrs.fr/txm</a> : you need to access the 'Editions' link<br>
and then the 'Outils' button to access the CWB based concordancer<br>
form) [this application and prototype were developed by a Politecnico<br>
di Torino student]<br>
- GWT based for the web also, mimicking the RCP interface, but with<br>
login based fine grained access control (prototype under beta testing<br>
for the moment)<br>
The server side combines CQPserver (for corpus query) and R (for<br>
statistics model experiments)<br>
<br>
Everything is licensed under GPL v3.0 and can be downloaded at<br>
<a class="moz-txt-link-freetext" href="http://sourceforge.net/projects/textometrie">http://sourceforge.net/projects/textometrie</a><br>
(see also the developers' web site at<br>
<a class="moz-txt-link-freetext" href="http://sourceforge.net/apps/mediawiki/textometrie">http://sourceforge.net/apps/mediawiki/textometrie</a>)<br>
<br>
All the sources (Toolbox, RCP, Grails and GWT) are ready for coding in<br>
the Eclipse IDE directly from SVN (See the developer's wiki for<br>
instructions).<br>
<br>
To have a preview of what final users can do with our applications<br>
(based on CWB and R), you can read the 'Reference Manuals' here:<br>
<a class="moz-txt-link-freetext" href="https://sourceforge.net/projects/textometrie/files/documentation">https://sourceforge.net/projects/textometrie/files/documentation</a><br>
<br>
The Javadoc, and the Groovydoc for scripting the platform, is at<br>
<a class="moz-txt-link-freetext" href="http://textometrie.sourceforge.net/javadoc/index.html">http://textometrie.sourceforge.net/javadoc/index.html</a><br>
You will find the documentation of our Java implementation of the CQi<br>
client side at<br>
<a class="moz-txt-link-freetext" href="http://textometrie.sourceforge.net/javadoc/java/org/textometrie/searchengine/cqp/package-summary.html">http://textometrie.sourceforge.net/javadoc/java/org/textometrie/searchengine/cqp/package-summary.html</a><br>
The server side documentation you will find concerns the code we use<br>
to control the CQPserver process from Java (start, stop).<br>
<br>
It may be useful to you to know that we are not completely satisfied<br>
by the present CQPserver implementation of the CQi API.<br>
Most importantly:<br>
- error diagnostics are not transmitted back by the protocol yet and<br>
our clients can't report CQL syntax errors properly for example.<br>
(search the CWB mailing list to find threads about this)<br>
- Windows sockets transmission is TOO slow for the moment on some<br>
architectures (we also had to develop a Windows version of CQPserver).<br>
We planned to implement a flat Java CQi client/server API where the<br>
CQPserver binary is dynamically linked to the client JVM and data is<br>
exchanged through JNI to prevent communication lags. But nothing has<br>
started on that for the moment.<br>
We may also propose extensions to the CQi API in the near future.<br>
<br>
Best,<br>
Serge<br>
<br>
<br>
<br>
Selon Luca Procopio le 30/11/2010 10:18:
<blockquote cite="mid:60936.70155.qm@web24611.mail.ird.yahoo.com"
 type="cite">
  <table border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <td
 style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit; -x-system-font: none;"
 valign="top">
        <div><font class="Apple-style-span" size="3" face="arial"><span
 class="Apple-style-span" style="font-size: 13px;">Hello,</span></font></div>
        <div><font class="Apple-style-span" size="3" face="arial"><span
 class="Apple-style-span" style="font-size: 13px;">I'm a student of
Turin working with prof. Evert,</span></font></div>
        <div><font class="Apple-style-span" size="3" face="arial"><span
 class="Apple-style-span" style="font-size: 13px;">I would work on the
development of  CWB's “client-server interface” because I think that
it's a very intresting job and I hope that the final result will can be
useful for whole CQP comunity.</span></font></div>
        <div><font class="Apple-style-span" size="3" face="arial"><span
 class="Apple-style-span" style="font-size: 13px;"><br>
        </span></font></div>
        <div><font class="Apple-style-span" size="3" face="arial"><span
 class="Apple-style-span" style="font-size: 13px;">Prof. Evert wrote :</span></font></div>
        <div><font class="Apple-style-span" size="3" face="arial"><span
 class="Apple-style-span" style="font-size: 13px;"><br>
        </span></font></div>
        <div><font class="Apple-style-span" size="3" face="arial"><span
 class="Apple-style-span" style="font-size: 13px;"><b>&gt;Develop a
good networking client-server interface, possibly based on the </b></span></font></div>
        <div><font class="Apple-style-span" size="3" face="arial"><span
 class="Apple-style-span" style="font-size: 13px;"><b>&gt;existing CQi
specification and CQPserver implementation, which would also </b></span></font></div>
        <div><font class="Apple-style-span" size="3" face="arial"><span
 class="Apple-style-span" style="font-size: 13px;"><b>&gt;offer
"virtual corpora" combined on the fly from multiple "physical" </b></span></font></div>
        <div><font class="Apple-style-span" size="3" face="arial"><span
 class="Apple-style-span" style="font-size: 13px;"><b>&gt;subcorpora.
While this incurs the overhead I have warned about above, it </b></span></font></div>
        <div><font class="Apple-style-span" size="3" face="arial"><span
 class="Apple-style-span" style="font-size: 13px;"><b>&gt;opens the
possibility of distributing corpora over multiple servers for </b></span></font></div>
        <div><font class="Apple-style-span" size="3" face="arial"><span
 class="Apple-style-span" style="font-size: 13px;"><b>&gt;parallel
processing and load balancing; for very complex queries that are </b></span></font></div>
        <div><font class="Apple-style-span" size="3" face="arial"><span
 class="Apple-style-span" style="font-size: 13px;"><b>&gt;not limited
by disk access speed, it would also enable us to make use of </b></span></font></div>
        <div><font class="Apple-style-span" size="3" face="arial"><span
 class="Apple-style-span" style="font-size: 13px;"><b>&gt;multiple CPU
cores on a single server.  Your tasks in this case would be </b></span></font></div>
        <div><font class="Apple-style-span" size="3" face="arial"><span
 class="Apple-style-span" style="font-size: 13px;"><b>&gt;to revise the
CQi specs, rewrite CQPserver to optimise performance (e.g. </b></span></font></div>
        <div><font class="Apple-style-span" size="3" face="arial"><span
 class="Apple-style-span" style="font-size: 13px;"><b>&gt;making use of
pipes or other communication tricks if client and server </b></span></font></div>
        <div><font class="Apple-style-span" size="3" face="arial"><span
 class="Apple-style-span" style="font-size: 13px;"><b>&gt;run on the
same machine), and then implement virtual corpora within </b></span></font></div>
        <div><font class="Apple-style-span" size="3" face="arial"><span
 class="Apple-style-span" style="font-size: 13px;"><b>&gt;CQPserver.</b></span></font></div>
        <div><font class="Apple-style-span" size="3" face="arial"><span
 class="Apple-style-span" style="font-size: 13px;"><br>
        </span></font></div>
        <div><font class="Apple-style-span" size="3" face="arial"><span
 class="Apple-style-span" style="font-size: 13px;">There is someone
else that already is working on the development of the client - server
interface?</span></font></div>
        <div><font class="Apple-style-span" size="3" face="arial"><span
 class="Apple-style-span" style="font-size: 13px;">Does exist some
documentation?</span></font></div>
        <div><font class="Apple-style-span" size="3" face="arial"><span
 class="Apple-style-span" style="font-size: 13px;"><br>
        </span></font></div>
        <div><font class="Apple-style-span" size="3" face="arial"><span
 class="Apple-style-span" style="font-size: 13px;">Best regards</span></font></div>
        </td>
      </tr>
    </tbody>
  </table>
  <br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
CWB mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a>
<a class="moz-txt-link-freetext" href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb">http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a>
  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Dr. Serge Heiden, <a class="moz-txt-link-abbreviated" href="mailto:slh@ens-lyon.fr">slh@ens-lyon.fr</a>, <a class="moz-txt-link-freetext" href="http://textometrie.ens-lsh.fr">http://textometrie.ens-lsh.fr</a>
ENS de Lyon/CNRS - ICAR UMR5191, Institut de Linguistique Française
15, parvis René Descartes 69342 Lyon BP7000 Cedex, tél. +33(0)622003883
</pre>
</body>
</html>