User Tools

Site Tools


cqp:practice-working-with-concordances

[ Collection: Introduction to CQP ]

Working with Concordances

For the following exercises, use functions beyond querying in CQP, such as sorting, sampling, randomizing and reducing. In addition, some of these exercises with require the use of positional attributes, like class or pos, and structural attributes. Like before, you will also have to be familiar with generating frequencies lists, exporting concordances into a specific file formats.

If you need help on how to work with concordances, have a look at this Wiki-page.

Exercise 1: Grouping by structural attributes

Query the BNC-BABY for the lemma (or "headword") furthermore.

  1. Group the matches in the concordance by the structural attribute text_domain. What is the most frequent text domain?
  2. Group the matches in the concordance by the structural attribute text_publication_date. What is the most frequent time period?

Exercise 2: An investigation of synonymy

Investigate the verbs gather and collect in the BNC. Explore the occurrence of the verbs in terms of their complementation patterns.

  1. Set the context to 1 sentence.
  2. Search for one verb at a time using a complex query, where you search for the lemma or "headword" and specifying the word form with either a pos- or class-tag.
  3. Randomize the data, then reduce it to 50 lines.
  4. Export your concordance as txt-file.
  5. Repeat the same steps for the other verb.

Exercise 3: A labor of love

  1. Set the context to 60 characters.
  2. Search for the lemma love as a verb in the BNC-BABY.
  3. Save the concordance in a variable, randomize it (with the variable) and extract a sample of 50 concordances.
  4. Generate a frequency list of all words directly following your match in the concordances (case-insensitive) and export that frequency list into a CSV-file.

Solutions

Find the solutions for the exercises here: Working with Concordances – Solutions

cqp/practice-working-with-concordances.txt · Last modified: 2024/01/21 05:59 by aamoakuh