ApplyConllFilter_df: Applies a filter to a data frame

Description Usage Arguments

View source: R/filtering.R

Description

Applies a filter to a data frame

Usage

1
ApplyConllFilter_df(tab, funct, sent_col, return_col = "", return_all = F)

Arguments

funct

a user-defined filter function

sent_col

the name of the column with conll data

return_col

if specified, will add a new column to the data frame (called filtered_col) with the value of the specified column in the conll input (e.g. lemmas of the matched words)

return_all

if return_col as been specified and this is set to TRUE, returns the whole data frame and adds the filtered_col value to every row

a

tibble / the data frame containing a column with conll annotated data


utacorpora/depsearcheR documentation built on Sept. 21, 2019, 1:07 a.m.