Learn R Programming

rcqp (version 0.5)

cqp_kwic: Create a "keyword in context" list with a subcorpus.

Description

Create a "keyword in context" (aka kwic) list with a subcorpus, with parameters for arranging and filtering items. The list can then be printed chunk by chunk.

Usage

cqp_kwic(x, ...)

# S3 method for cqp_subcorpus cqp_kwic(x, right.context = 20, left.context = 20, ...)

Arguments

x

An object created with subcorpus.

right.context

The number of characters on the right.

left.context

The number of characters on the left.

...

Ignored.

Value

Create a cqp_kwic object ready to be printed (with more options for the display) with print (see print.cqp_kwic).

References

http://cwb.sourceforge.net/documentation.php

See Also

corpus, subcorpus, print.cqp_kwic write.cqp_corpus.