User Tools

Site Tools


cqp:repetition-operators

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cqp:repetition-operators [2024/06/20 13:53] – external edit 127.0.0.1cqp:repetition-operators [2025/05/15 00:57] (current) – [Exercises 1: Prefixation] change "Exercises" to "Exercise" aamoakuh
Line 5: Line 5:
 For the following exercises, use repetition operators like ''*'', ''+'' and ''{}'' and other regular expressions such as ''[]'' , ''()''. Like in the previous section, you will also have to be familiar with positional attributes of the BNC. For more information how to use these operators in CQP, please see the Wiki-page on [[cqp:regular-expressions-basics| Regular Expressions (Basics).]] For the following exercises, use repetition operators like ''*'', ''+'' and ''{}'' and other regular expressions such as ''[]'' , ''()''. Like in the previous section, you will also have to be familiar with positional attributes of the BNC. For more information how to use these operators in CQP, please see the Wiki-page on [[cqp:regular-expressions-basics| Regular Expressions (Basics).]]
  
-==== Exercises 1: Prefixation ====+==== Exercise 1: Prefixation ====
  
-Query //post-// as a hyphenated prefix attaching to adverbial bases in the BNC. Use the positional attribute ''word'' (case-insensitive) restricted to ''pos="AJ."''. How many instances do you find? +Query //post-// as a hyphenated prefix attaching to adverbial bases in the BNC. Use the positional attribute ''word'' (case-insensitive) restricted to ''%%pos="AJ."%%''. How many instances do you find? 
  
 ==== Exercise 2: Prefix- and Suffixation ====  ==== Exercise 2: Prefix- and Suffixation ==== 
Line 26: Line 26:
  
   - 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.   - 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 ''count Last by hw on matchend'', export a (tidied) frequency list of the nouns in object position for each verb. +  - Using the command ''%%count Last by hw on matchend%%'', export a (tidied) frequency list of the nouns in object position for each verb. 
   - Finally, compare the word lists. Can you make any semantic generalizations about the objects which collocate with //change// and //alter//, respectively?   - 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 and 70 instances, respectively.+In the BNC-BABY, you should match roughly 1200 and 70 instances, respectively.
  
 ==== Solutions ====  ==== Solutions ==== 
cqp/repetition-operators.1718884383.txt.gz · Last modified: 2024/06/20 13:53 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki