how would it be with the -f option, how should the file format be? <br /><br />thanks<br />
<pre><font color="#000000">> On 24 Mar 2016, at 16:43, Andres Chandia <<a
href="http://mail.chandia.net/src/compose.php?send_to=andres%40chandia.net">andres@chandia.net</a>>
wrote:</font> <font color="#000000">> </font> <font color="#000000">> is there a way to
query a corpus from command line, for example, like this:</font> <font color="#000000">>
I'm just inventing the syntax for you to understand what I mean:</font> <font
color="#000000">> </font> <font color="#000000">> # cqp "CORPUS" :: text_id =
"TID1" :: [pos="NN.*"] > some_file.txt</font> <font
color="#000000">> </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="silly" [pos="NN"];' 'set pp off;' 'group A matchend lemma;' Best,
Stefan </pre>
<br /><br /><br />_______________________<br
/> andrés
chandí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. ¡Cuide el medio ambiente!</span>