- KWIC display (“key word in
context”)
15921: ry moment an <interesting> case of spo
17747: appeared to <interest> the Spirit
20189: ge , with an <interest> he had neve
24026: rgetting the <interest> he had in w
35161: require . My <interest> in it , is
35490: require . My <interest> in it was s
35903: ken a lively <interest> in me sever
43031: been deeply <interested> , for I rem
- if query results do not fit on screen, they will be displayed one page
at a time using a pager program
- press SPC (space bar) to see next page, RET (return)
for next line, and q to return to CQP
- some pagers support b or the backspace key to go to the
previous page, as well as the use of the cursor keys, PgUp,
PgDn, Home, and End.
- at the command prompt, use cursor keys to edit input (
and
, Del, backspace key) and repeat previous commands
( and
)
- change context size
> set Context 20; |
(20 characters) |
> set Context 5 words; |
(5 tokens) |
> set Context s; |
(entire sentence) |
> set Context 3 s; |
(same, plus 2 sentences each on left and right) |
- type “
cat;
” to redisplay matches
- display current context settings
> set Context;
- left and right context can be set independently
> set LeftContext 20;
> set RightContext s;
- all option names are case-insensitive; most options have abbreviations:
c for Context, lc for LeftContext,
rc for RightContext
(shown in square brackets when current value is displayed)
- show/hide annotations
> show +pos +lemma;
(show)
> show -pos -lemma;
(hide)
- summary of selected display options (and available attributes):
> show cd;
- structural attributes are shown as XML tags
> show +s +np_h;
- hide annotations of XML tags
> set ShowTagAttributes off;
- hide corpus position
> show -cpos;
- show annotation of region(s) containing match
> set PrintStructures "np_h";
> set PrintStructures "novel_title, chapter_num";
> set PrintStructures "";