[CWB] Left and Right KWIC delimiters
Stefan Evert
stefanML at collocations.de
Sat Feb 12 11:28:41 CET 2011
> There are LD and RD to change the < and > delimiters
>
> Are there any other delimiters I can set to change how anchor words are marked?
I suppose you're referring to the "target" and "keyword" anchors?
Nope, the output formatting options are quite limited. The idea is that you would prefer to do any flexible reformatting outside CQP (in Perl, Python, ...) anyway.
There is "set ShowTargets on;", which marks targets and keywords with a highlighted number appended to the respective token. If you have a supported colour terminal, the number should show up in red; turn of colour ("set Colour off;") to show the number in parentheses instead.
This feature currently seems to work only in interactive screen ouput. If you redirect the kwic lines into a file, the anchor tokens are not marked at all.
Best,
Stefan
More information about the CWB
mailing list