--make_wordclouds

Switch

--make_wordclouds

Description

Makes word clouds. This needs an output topic tagcloud file. For topic word clouds see --make_topic_wordclouds.

Argument and Default Value

No argument. Boolean switch, default: False.

Details

Aliased as --make_tagclouds. Reads the data file produced by --tagcloud and renders it as a word cloud image, sized by each word's correlation/weight. For topic-based word clouds see --make_topic_wordclouds.

Other Switches

Required Switches: * --tagcloud

Optional Switches: * --tagcloud_colorscheme

Example Commands

Using the packaged dla_tutorial dataset (see Differential Language Analysis (DLA) Tutorial): correlates 1to3grams with age and gender, controlling for whether the user is a student, then renders word clouds.

dlatkInterface.py -d dla_tutorial -t msgs -c user_id -f 'feat$1to3gram$msgs$user_id$0_05' \
--outcome_table blog_outcomes --outcomes age gender --outcome_controls is_student \
--group_freq_thresh 500 --tagcloud --make_wordclouds --output_name ./dla_tutorial_clouds