fst_wordcloud {finnsurveytext} | R Documentation |
Make Wordcloud
Description
Creates a wordcloud from CoNLL-U data of frequently-occurring words.
Usage
fst_wordcloud(data, pos_filter = NULL, max = 100)
Arguments
data |
A dataframe of text in CoNLL-U format. |
pos_filter |
List of UPOS tags for inclusion, default is 'NULL' which means all word types included. |
max |
The maximum number of words to display, default is '100' |
Value
A wordcloud from the data.
Examples
cb <- conllu_cb_bullying_iso
fst_wordcloud(cb)
fst_wordcloud(cb, pos_filter = c("NOUN", "VERB", "ADJ", "ADV"))
fst_wordcloud(conllu_dev_q11_1_snow, pos_filter = "VERB", max = 50)
fst_wordcloud(conllu_dev_q11_1_nltk)
[Package finnsurveytext version 1.0.0 Index]