cqp:practice-working-with-concordances
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
cqp:practice-working-with-concordances [2024/01/21 04:53] – change name of exercise 2 aamoakuh | cqp:practice-working-with-concordances [2025/05/15 01:00] (current) – [Exercise 2: An investigation of synonymy] add "script" aamoakuh | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | **[ [[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 '' | ||
+ | |||
+ | If you need help on how to work with concordances, | ||
+ | |||
+ | ==== Exercise 1: Grouping by structural attributes ==== | ||
+ | |||
+ | Query the BNC-BABY for the lemma // | ||
+ | |||
+ | - Group the matches in the concordance by the structural attribute '' | ||
+ | - Group the matches in the concordance by the structural attribute '' | ||
+ | |||
+ | ==== 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. | ||
+ | |||
+ | - Set the context to 1 sentence. | ||
+ | - Display the structural attribute '' | ||
+ | - Search for one verb (case-insensitive) at a time using a complex query, where you search for the lemma, and specifying the word form with either a pos- or class-tag. | ||
+ | - Randomize the data, then reduce it to 50 concordance lines. | ||
+ | - Export your concordance as txt-file, using the script '' | ||
+ | - Repeat these steps for the other verb. | ||
+ | |||
+ | ==== Exercise 3: A labor of love ==== | ||
+ | |||
+ | - Set the context to 60 characters. | ||
+ | - Display the structural attributes '' | ||
+ | - Search for the lemma //love// as a verb in the BNC-BABY. | ||
+ | - Save the concordance in a variable, randomize it (with the variable) and extract a sample of 50 concordances. | ||
+ | - Generate a frequency list of all words directly following your match in the concordance (case-insensitive) and export that frequency list into a CSV-file, using the script '' | ||
+ | |||
+ | ==== Solutions ==== | ||
+ | |||
+ | Find the solutions for the exercises here: [[cqp: | ||