<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Am 31.01.20 um 08:21 schrieb Stefan
      Evert:<br>
    </div>
    <blockquote type="cite"
      cite="mid:84EF2A12-2D1A-40A2-956C-CD20A8364237@collocations.de">
      <pre class="moz-quote-pre" wrap="">
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).

</pre>
    </blockquote>
    <p>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>):</p>
    <blockquote>
      <p>pip install cwb-ccc</p>
    </blockquote>
    <p>Have a look at the df_anchor_from_query() method from
      ccc.cwb.CWBEngine to directly work with corpus positions.</p>
    <p>Best,</p>
    <p>Philipp</p>
  </body>
</html>