Next Previous Contents

4. Queries

The user can enter a real query in the query language or a template (see below) into the query entry-box. A query consists of at least two parts: query type (selected from the menu in the upper-left corner) and query text or template (put into the first entry box).

A query type is one of the following:

New Query

creates a new concordance list for further modifications (filtering, reduction, sorting, ...). Ctrl-Q also selects this type.

P-filter

Positive filter -- only matching lines remain in the concordance list. Ctrl-P selects P-filter.

N-filter

Negative filter -- matching lines are removed from the concordance list. Ctrl-N selects N-filter.

collocation

Matching positions are highlighted in the given interval of each line.

P/N-filter and collocation query types need an interval within which to search matching positions for each line. The interval is given by its first and last positions.

First/Last

For collocations specifies which occurrence in the given interval should be considered a collocation.

From, To:

The start and the end of an interval for P/N filter, or for the search of collocation.

The number specifies a count of units. Positive numbers mean the count of units to the right, after the specified reference position. Negative numbers mean the count of units to the left, before the specified reference position. Number 0 means exactly the given position. A unit is, according to the selection, either a position or a structure tag. The last selection button From specifies the reference position from which the given number of units will be counted. A value can be chosen from the following:

<KWIC

-- from the beginning of the words found

KWIC>

-- from the end of the words found

<n.coll.

-- from the beginning of the n-th collocation

n.coll.>

-- from the end of the n-th collocation

Note: Every entered query is saved in the query history. It is not saved however, if the query itself and its name are identical with the previous query. It is possible to use cursor up/down arrows in the entry box of the query to go through the history.

If a query name is entered into the entry box following the query, the query is saved into the list of named queries.

The list of named queries, the list of templates and history are automatically saved when the application is closed. (->Manager->Exit)


Next Previous Contents