[CWB] Setting entire document as context

Yannick Versley yversley at gmail.com
Fri Mar 11 20:29:41 CET 2011


If your documents are delimited with "text" tags, you'd use
set context 1 text ;

(CQP sees corpora as one long sausage of attributed tokens, with occasional
tags thrown in. This allows you to have, e.g. sentences, paragraphs,
chapters,
volumes, etc. Or nothing at all. You can also delimit searches to certain
tag-delimited
regions by adding, e.g. "within 1 text" at the end of your search query).

Best,
Yannick

2011/3/11 Scott Sadowsky <ssadowsky at gmail.com>

> How do you retrieve the entire document that a search hit is found in?
>
> Thanks,
> Scott
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://devel.sslmit.unibo.it/mailman/listinfo/cwb
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20110311/a92f0bc2/attachment.htm


More information about the CWB mailing list