cqp:repetition-operators
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
cqp:repetition-operators [2024/01/21 00:14] – created aamoakuh | cqp:repetition-operators [2025/05/15 00:57] (current) – [Exercises 1: Prefixation] change "Exercises" to "Exercise" aamoakuh | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | **[ [[cqp: | ||
+ | ===== Querying with Repetition Operators and other Regular Expressions ===== | ||
+ | |||
+ | For the following exercises, use repetition operators like '' | ||
+ | |||
+ | ==== Exercise 1: Prefixation ==== | ||
+ | |||
+ | Query //post-// as a hyphenated prefix attaching to adverbial bases in the BNC. Use the positional attribute '' | ||
+ | |||
+ | ==== Exercise 2: Prefix- and Suffixation ==== | ||
+ | |||
+ | Formulate a query that matches all words that begin with //in-// and end with //-ible// in the BNC-BABY. How many instances do you find? | ||
+ | |||
+ | ==== Exercise 3: Matching different word forms ==== | ||
+ | |||
+ | - Formulate a query that matches both //snowed// and //snowing// (case-insensitive), | ||
+ | - Formulate another query that matches //snow// and //slow// (case-insensitive). | ||
+ | |||
+ | Try to think of more than one way to solve each exercise. | ||
+ | |||
+ | |||
+ | ==== Exercise 4: Collocation ==== | ||
+ | |||
+ | Explore the types of objects that the synonymous verbs //change// and //alter// collocate with. To do so, proceed accordingly: | ||
+ | |||
+ | - One verb at a time, query transitive usage patterns. Your query can include another word, which must be a noun, as well as up to two optional elements in between. | ||
+ | - Using the command '' | ||
+ | - Finally, compare the word lists. Can you make any semantic generalizations about the objects which collocate with //change// and //alter//, respectively? | ||
+ | |||
+ | In the BNC-BABY, you should match roughly 1200 and 70 instances, respectively. | ||
+ | |||
+ | ==== Solutions ==== | ||
+ | |||
+ | Find the solutions for the exercises here: [[cqp: | ||
+ | |||
+ | ==== More practice? ==== | ||
+ | |||
+ | Continue here: [[cqp: |