<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi José,</p>
    <p>cwb-ccc is now hosted publicly on github:</p>
    <blockquote>
      <p><a class="moz-txt-link-freetext" href="https://github.com/ausgerechnet/cwb-ccc">https://github.com/ausgerechnet/cwb-ccc</a></p>
    </blockquote>
    <p>Best,</p>
    <p>Philipp<br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Am 03.02.20 um 11:19 schrieb José
      Manuel Martínez Martínez:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAPwwJMZeW0Hg4RhRN+Fhq3rZ4XZSE5uvoc_LbkvRTF7RKQ=9bw@mail.gmail.com">
      <pre class="moz-quote-pre" wrap="">Hi Philip,
thanks for sharing. cwb-ccc looks very interesting. Apart from
installing it via PyPI is it possible to clone/fork the repo from your
gitlab?
Cheers,
--
José Manuel Martínez Martínez
<a class="moz-txt-link-freetext" href="https://chozelinek.github.io">https://chozelinek.github.io</a>

On Fri, Jan 31, 2020 at 12:17 PM Philipp Heinrich
<a class="moz-txt-link-rfc2396E" href="mailto:philipp.heinrich@fau.de">&lt;philipp.heinrich@fau.de&gt;</a> wrote:
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">

Am 31.01.20 um 08:21 schrieb Stefan Evert:

4) If you _really_ need more than two marked positions inside the query, you can use additional markers @2 … @9.  However, only _two_ of them can be active at the same time, controlled by "set AnchorNumberTarget …" and "set AnchorNumberKeyword …".  By re-running the same query several times with different settings of these options, you can build a table with the positions of all markers.

We use this strategy in our own work, supported by a small Python wrapper script.  If you're sure that the matches of your query cannot overlap, you can speed up the process by executing the follow-up runs as anchored subqueries (but you need to know what you're doing).

If you want to work with queries with more than two marked positions and you're familiar with python, you might want to use the cwb-ccc package, which you can install via pip from PyPI (<a class="moz-txt-link-freetext" href="https://pypi.org/project/cwb-ccc/">https://pypi.org/project/cwb-ccc/</a>):

pip install cwb-ccc

Have a look at the df_anchor_from_query() method from ccc.cwb.CWBEngine to directly work with corpus positions.

Best,

Philipp

_______________________________________________
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://liste.sslmit.unibo.it/mailman/listinfo/cwb">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a>
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
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://liste.sslmit.unibo.it/mailman/listinfo/cwb">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Philipp Heinrich, M.Sc.
Lehrstuhl für Korpus- und Computerlinguistik
Friedrich-Alexander-Universität Erlangen-Nürnberg
Bismarckstr. 6, 91054 Erlangen

Telefon: +49 9131 85 29250
<a class="moz-txt-link-freetext" href="https://philipp-heinrich.eu">https://philipp-heinrich.eu</a></pre>
  </body>
</html>