filterFoc | R Documentation |
Filter by First Order Parameters
filterFoc( foc_param, tid_data, cw_selection, is_dep_fun = function(foc_param) stringr::str_starts(foc_param, "LEMMA"), max_steps_fun = function(foc_param) if (foc_param == "LEMMAPATH2") 2 else 3, window_filter_fun = windowFilter, pos_filter_fun = posFilter, bound_filter_fun = function(foc_param) stringr::str_starts(foc_param, "nobound") )
foc_param |
Character string coding the relevant first-order parameters. |
tid_data |
Subsection of a context-word-by-token dataframe, as outputted
by |
cw_selection |
Vector of context words selected by the model for that token. |
is_dep_fun |
Function that takes |
max_steps_fun |
Function that takes |
window_filter_fun |
Function that takes |
pos_filter_fun |
Function that takes |
bound_filter_fun |
Function that takes |
Enriched dataframe including columns with filtering information.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.