[CWB] Tabulate and <s>

Stefan Evert stefanML at collocations.de
Fri May 8 09:41:11 CEST 2015


Congratulations, you solved the exercise to the reader perfectly. :-)

> On 7 May 2015, at 22:50, Maarten Janssen <maartenpt at gmail.com> wrote:
> 
> Thanks for the tip - there is only one small limitation on that: it only works for single-token queries, whereas the Set context words for any query. Although a bit hacking, I managed to extend your trick to work with any query in the following way, maybe it will be helpful for others as well:
> 
> Matches = [word="des.*”] [] [];
> set Matches target match;
> set Matches keyword matchend;
> Sent = Matches expand to sent;
> tabulate Sent match .. target[-1] word, keyword[1] .. matchend word, target .. keyword word;
> 



More information about the CWB mailing list