R/fye_dca.R
dca_top_collex.Rd
A helper function to extract distinctive collocates/collexemes for construction/word X from the output of collex_fye_dca
.
dca_top_collex(dca_res, dist_for = NULL, top_n = 20L)
dca_res | The output of |
---|---|
dist_for | Character vectors of names of the contrasted constructions, or either |
top_n | Integer for the top-n distinctive collocates/collexemes. The default is |
A data frame of distinctive collocates/collexemes for construction X.
if (FALSE) { # distinctive for CxN B dca_top_collex(dca_res, "b") # distinctive for CxN A dca_top_collex(dca_res, "a") }