[CWB] Setting entire document as context

Serge Heiden slh at ens-lyon.fr
Fri Mar 11 21:20:49 CET 2011


In some contexts, it can also be useful to express it
in another way by adding "expand to text" or "expand to p",
or whatever, at the end of your query.

Best,
Serge

le 11/03/2011 20:29 Selon Yannick Versley:
> 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 <mailto: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 <mailto:CWB at sslmit.unibo.it>
>     http://devel.sslmit.unibo.it/mailman/listinfo/cwb
>
>
>
>
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://devel.sslmit.unibo.it/mailman/listinfo/cwb

-- 
Dr. Serge Heiden, slh at ens-lyon.fr, http://textometrie.ens-lyon.fr
ENS de Lyon/CNRS - ICAR UMR5191, Institut de Linguistique Française
15, parvis René Descartes 69342 Lyon BP7000 Cedex, tél. +33(0)622003883


More information about the CWB mailing list