clr_search_context: Get 'keyword-in-context' from an annotated corpus.

Description Usage Arguments Value

View source: R/clr_search_context.R

Description

Function(s) extract all instantiations of search pattern and NxN window of surrounding text from an annotated corpus.

Usage

1
2
3

Arguments

search

Gram/lexical pattern to be searched for

LW

Size of context in number of words to left of the target

RW

Size of context in number of words to right of the target

corp

List of annotated texts to be searched

Value

A list containing two dataframes


jaytimm/corpuslingr documentation built on May 29, 2019, 1:01 a.m.