[CWB] Performance of "expand to"
Eros Zanchetta
eros.zanchetta2 at unibo.it
Tue Feb 14 19:18:20 CET 2012
On 02/13/2012 10:54 PM, Hardie, Andrew wrote:
> If you're not working within Perl, (or even if you are it might be simpler), just open up a slave process
>
> cwb-decode -C -s $TEXT_START_CPOS -e $TEXT_END_CPOS $CORPUS -P word
>
> and read the text from the slave's stdout.
This is a great tip, it's exactly what I was looking for.
But how exactly do I find $TEXT_START_CPOS and $TEXT_END_CPOS in CQP
(assuming the only thing I know is the text_id)?
Thank you,
Eros
More information about the CWB
mailing list