[CWB] List all the values of a specific attribute, is it possible?
Stefan Evert
stefanML at collocations.de
Thu Nov 30 17:00:27 CET 2017
> On 30 Nov 2017, at 13:49, Martin Hammarstedt <martin.hammarstedt at gu.se> wrote:
>
> You can use the cwb-scan-corpus tool, like this:
>
> cwb-scan-corpus CORPUS story_title
More efficiently:
cwb-s-decode CORPUS -S story_title | cut -f3 | sort | uniq -c
Or in CQP
CORPUS;
A = <story> [];
group A match story_title;
Best,
Stefan
More information about the CWB
mailing list