User Tools

Site Tools


cqp:practice-working-with-concordances-solutions

[ Collection: Introduction to CQP ]

Working with Concordances – Solutions

Exercise 1

1.

[hw="furthermore"]
group Last match text_domain

social_science  40
natural_science 23
applied_science 13

2.

group Last match text_publication_date
	
1985-1993   82
1975-1984   11
1960-1974   1

Exercise 2

What to type in CQP for gather:

set Context 1s

set PrintStructures “text_id”

[hw=“gather” & pos=“V.+”]

sort Last randomize

reduce Last to 50

cat Last > “| tidycwb.pl > gather_bnc.txt”

Repeat these steps for collect.

Exercise 3

set Context 60

[hw=“love” & pos=“V.+”]

set PrintStructures “text_id, text_n_s”

love = Last

sort love randomize

reduce love to 50

cat love > “|tidycwb.pl > love_bnc.csv”

cqp/practice-working-with-concordances-solutions.txt · Last modified: 2024/06/20 13:53 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki