Skip to contents

This function prints a concordance in KWIC format.

Usage

print_kwic(
  x,
  min_c_left = NA,
  max_c_left = NA,
  min_c_match = NA,
  max_c_match = NA,
  min_c_right = NA,
  max_c_right = NA,
  from = 1,
  n = 30,
  drop_tags = TRUE
)

Arguments

x

An object of class conc.

min_c_left, max_c_left

Minimum and maximum size, expressed in number of characters, of the left co-text in the KWIC display.

min_c_match, max_c_match

Minimum and maximum size, expressed in number of characters, of the match in the KWIC display.

min_c_right, max_c_right

Minimum and maximum size, expressed in number of characters, of the right co-text in the KWIC display.

from

Index of the first item of x to be displayed.

n

Number of consecutive items in x to be displayed.

drop_tags

Logical. Should tags be hidden?

Value

Invisibly, x.

See also