# The Concordance Tab

On this tab you can run queries against the corpora you selected on the Corpus tab, to generate a set of concordance lines. Alternatively you can load a set of concordance lines that you have previously saved.

Once you have a set of concordance lines, the buttons across the top of the pane present a range of functions that you can use to manipulate the lines that the query has retrieved. We will look at each button in turn below.

## The Display

The status line at the bottom of the pane displays the number of lines that make up the current working set of concordance lines. The node word of the query you have just run is highlighted in red in the center of the pane, with the line numbers indicating the position of that concordance line within in the current set displayed on the left hand side of the pane.

You can select a concordance line by clicking on it - it will then be highlighted in yellow. If you want to select more than one concordance line press shift and then click for each subsequent line. Clicking on an already selected line will deselect that line - no other selected lines will be affected.

To scroll up or down through the set of concordance lines use the arrow keys. You can also use the PageUp or PageDown keys to scroll through the concordance lines a page at a time.

## The Actions

NEW QUERY
  When this pane is empty, ie you have no current set of concordance lines open, this button will be highlighted to prompt you to run a new query. When you click it you will be presented with a dialogue box prompting you to enter a query, for example a node word such as "test". For full details see the query language section of this documentation. If you click the downwards arrow at the right hand edge of the box you will be able to select from a list of the previous queries (if any) that you have run this session. Enter your query and click ok, and QWICK will run your query against the corpora selected, and display the results in the pane.
GOTO
  Clicking this button will bring up a dialogue box prompting for a line number that you want to go to. You can enter any valid line number, for example enter 1 to go to the top of the set of concordance lines. You will then be taken to that line - ie the line you select will be displayed at the top of the page.
SEARCH
  Clicking here will bring up a dialogue box that prompts you to enter a word to search for. QWICK will search forward from the top line displayed on the screen to the next line containing the search word. You can click the Search button in the search dialog again to find the next relevant line.
CONTEXT
  This button presents a dialogue box which allows you to view an extended context for the line you have just selected.
SAMPLE
  This option allows you to reduce your working set of concordance lines. The dialogue box shows that you will reduce the number of lines from the total number of lines available down to a number of lines that you specify . You can select to reduce them in one of two ways:
  - every Nth sampling will reduce the number of lines by selecting every Nth line - the value of N will depend on the number of lines you have elected to keep.
  - random sampling will pick a random sample of lines.
FILTER
  This button allows you to filter the current set of concordance lines, to only view a subset of them. You specify a search word, and then elect either to remove all concordance lines that do contain the search word, or to remove all concordance lines that do not contain the search word. In this way you can choose to do either positive or negative filtering. Note: It is advised that you save your complete set of concordance lines before running a filter. If, having done a filter, you want to return to your complete original set of concordance lines you will need either to rerun your query, or to load the set that you saved.
DELETE
  Clicking this button will delete all concordance lines that are currently selected. Note: This will include selected lines that are not currently visible on the screen If you only wish to delete one line make sure that no other lines are selected by clicking once on an unselected line - with simple clicks (as opposed to shift-click) only one line at a time may be selected, so this will deselect all other lines.

  When you are satisfied with your set of current concordances you can click on the collocation tab to move on to the next stage.

  Back to the index page