powered by
Calculates and binds the importance of bigrams and their synergistic average.
bind_lr(tbl, term = "token", lr_mode = c("n", "dn"), avg_rate = 1)
A data.frame.
A tidy text dataset.
Column containing terms as string or symbol.
Method for computing 'FL' and 'FR' values. n is equivalent to 'LN' and 'RN', and dn is equivalent to 'LDN' and 'RDN'.
n
dn
Weight of the 'LR' value.
The 'LR' value is the synergistic average of bigram importance that based on the words and their positions (left or right side).
tools:::Rd_expr_doi("10.5715/jnlp.10.27")
if (FALSE) { prettify(hiroba, col_select = "POS1") |> mute_tokens(POS1 != "\u540d\u8a5e") |> bind_lr() }
Run the code above in your browser using DataLab