Applies a filter to a data frame
1 | ApplyConllFilter_df(tab, funct, sent_col, return_col = "", return_all = F)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.