<div dir="ltr">Hi Alex,<div><br></div><div>if you want to do that with the current CQP, the method I&#39;d use (short of using the API)</div><div>would be to dump A, B and C to files (CQP writes a list of starting/ending offsets)</div><div>and then concatenate/sort these files and read them back in.</div><div>as in</div><div>A=[pos=&#39;JJ&#39;][pos=&#39;NN&#39;]</div><div>Dump A &gt; &#39;a.txt&#39;</div><div>B=[pos=&#39;MD&#39;][pos=&#39;VV&#39;]</div><div>Dump B &gt; &#39;b.txt&#39;</div><div>cat a.txt b.txt | sort &gt; ab.txt</div><div>Undump D &lt; &#39;ab.txt&#39;</div><div><br></div><div>Best,</div><div>Yannick</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 14, 2015 at 12:30 PM, Trklja, Alex <span dir="ltr">&lt;<a href="mailto:A.Trklja@exeter.ac.uk" target="_blank">A.Trklja@exeter.ac.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all,<br>
<br>
Is it possible in CQP to assign cqp queries to new variables and then re-use them or have you thought about including something along this line to Ziggurat/CWB4? Say, I have the following queries:<br>
<br>
A= [pos=&#39;JJ&#39;] [pos=&#39;NN&#39;]<br>
B= [pos=&#39;MD] [pos=&#39;VV&#39;]<br>
C=[pos=&#39;RB&#39;] [pos=&#39;VV&#39;]<br>
<br>
And I would like to combine them in the following two ways:<br>
D=A+B<br>
E=A+C<br>
<br>
Thanks.<br>
Alex<br>
<br>
_______________________________________________<br>
CWB mailing list<br>
<a href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a><br>
<a href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb" rel="noreferrer" target="_blank">http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a><br>
</blockquote></div><br></div>