how would it be with the -f option, how should the file format be? <br /><br />thanks<br />
<pre><font color="#000000">&gt; On 24 Mar 2016, at 16:43, Andres Chandia &lt;<a
href="http://mail.chandia.net/src/compose.php?send_to=andres%40chandia.net">andres@chandia.net</a>&gt;
wrote:</font> <font color="#000000">&gt; </font> <font color="#000000">&gt; is there a way to
query a corpus from command line, for example, like this:</font> <font color="#000000">&gt;
I'm just inventing the syntax for you to understand what I mean:</font> <font
color="#000000">&gt; </font> <font color="#000000">&gt; # cqp &quot;CORPUS&quot; :: text_id =
&quot;TID1&quot; :: [pos=&quot;NN.*&quot;] &gt; some_file.txt</font> <font
color="#000000">&gt; </font>  Well, you can simply work with CQP on the command line.  If you
want to do this in batch mode, you can write the commands to a file and the use the -f option.
 Or use the (somewhat deprecated) cqpcl program, e.g.          cqpcl 'DICKENS;'
'A=&quot;silly&quot; [pos=&quot;NN&quot;];' 'set pp off;' 'group A matchend lemma;'  Best,
Stefan </pre>
<br /><br /><br />_______________________<br
/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;andr&eacute;s
chand&iacute;a<br /><a target="_blank" href="http://www.chandia.net"><img border="0"
alt="chandia.net" src="http://www.chandia.net/sites/default/files/images/chandia.netd.png"
/></a><a target="_blank" href="https://twitter.com/andreschandia"><img
src="http://www.upf.edu/universitat/_img/ico_tw.png" alt="" /></a><br />administrador de:<br
/><a href="http://parles.upf.edu">parles.upf</a> | <a
href="http://www.delingua.es">delingua</a> | <a href="http://amindterapia.com">amind
terapia</a> | <a href="http://koyaktumapuche.net">mapuche koyaktu</a> | <a
href="http://mail.corporacionkoyaktu.net">mail ong mapuche koyaktu</a> | <a
href="http://mail.psicoaching.net">mail psicoaching</a> |<br /><span style="font-size: 18pt;
color: rgb(79, 98, 40); font-family: Webdings;">P </span><span style="font-size: 10pt; color:
rgb(79, 98, 40);">No imprima innecesariamente. &iexcl;Cuide el medio ambiente!</span>