Next:
1 Introduction
Up:
The IMS Open Corpus
Previous:
The IMS Open Corpus
Contents
1
Introduction
1
.
1
The IMS Open Corpus Workbench (CWB)
1
.
2
The CWB corpus data model
1
.
3
Tutorial corpora referenced in this manual
2
Basic CQP features
2
.
1
Getting started
2
.
2
Searching for words
2
.
3
Display options
2
.
4
Useful options
2
.
5
Accessing token-level annotations
2
.
6
Combinations of attribute constraints: Boolean expressions
2
.
7
Sequences of words: token-level regular expressions
2
.
8
Example: finding “nearby” words
2
.
9
Sorting and counting
2
.
10
CQP scripts
3
Working with query results
3
.
1
Named query results
3
.
2
Saving data to disk
3
.
3
Anchor points
3
.
4
Frequency distributions
3
.
5
Set operations with named query results
3
.
6
Random subsets
3
.
7
The
set target
command
4
Labels and structural attributes
4
.
1
Using labels
4
.
2
Structural attributes
4
.
3
Structural attributes and XML
4
.
4
XML document structure
4
.
5
Match selectors
5
Working with aligned corpora
5
.
1
Displaying aligned sentences
5
.
2
Querying aligned corpora
5
.
3
“Translating” query results
6
Advanced CQP features
6
.
1
The matching strategy
6
.
2
Word lists
6
.
3
Subqueries
6
.
4
The CQP macro language
6
.
5
CQP macro examples
6
.
6
Feature set attributes (
GERMAN-LAW
)
7
Interfacing CQP with other software
7
.
1
Running CQP as a backend
7
.
2
Exchanging corpus positions with external programs
7
.
3
Generating frequency tables
8
CQP for experts
8
.
1
Zero-width assertions
8
.
2
Labels and scope
8
.
3
CQP built-in functions
8
.
4
MU queries
8
.
5
TAB queries
8
.
6
Numbered target markers
8
.
7
Region elements and ad-hoc annotation
8
.
8
Easter eggs
A. Appendix
A..
1
Summary of regular expression syntax
A..
2
Part-of-speech tags and useful regular expressions
A..
3
Annotations of the tutorial corpora
A..
4
Reserved words in the CQP language
A..
5
Full list of CQP options