Finds collocations, i.e. multiword phrases that are more likely than their single words
Source:R/ngrams.R
kwr_collocations.Rd
Finds collocations, i.e. multiword phrases that are more likely than their single words
Arguments
- x
A
kwresearch
object, which queries will be collocations calculated from, or a data frame of queries and volume.- min_volume_prop
Minimum proportion.
- min_n
Minimum number of queries. Only the n-grams with at least this number of queries will be included.
- quanteda
If TRUE, will use the 'quanteda' package, which is recommended.