Description Usage Arguments Value
View source: R/phrases_collocations.R
Searches a quanteda::tokens
to locate ngrams.
The function cleans the token and returns a dataframe
with results.
1 | phrases_collocations(x, ngram = 2, min_count = 5)
|
x |
A |
ngram |
Ngram size to locate |
min_count |
The minimum number of instances for each ngram to be included |
A dataframe
containing located phrases and number of appearances.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.