Calculates and binds the importance of bigrams and their synergistic average.
Usage
bind_lr(tbl, term = "token", lr_mode = c("n", "dn"), avg_rate = 1)
Arguments
- tbl
A tidy text dataset.
- term
<
data-masked
> Column containing terms.- lr_mode
Method for computing 'FL' and 'FR' values.
n
is equivalent to 'LN' and 'RN', anddn
is equivalent to 'LDN' and 'RDN'.- avg_rate
Weight of the 'LR' value.
Details
The 'LR' value is the synergistic average of bigram importance that based on the words and their positions (left or right side).