--make_all_topic_wordclouds
Switch
--make_all_topic_wordclouds
Description
Makes a word cloud image for every topic in a topic lexicon (not restricted to topics that correlated with an outcome). Aliased as --make_all_topic_tagclouds.
Argument and Default Value
No argument. Boolean switch, default: False.
Details
Verified end-to-end (with the wordcloud Python package installed): given a 2000-topic lexicon, rendered all 2000 PNGs into <output_name>_alltopics/topic_<id>_wc.png, printing Generating wordclouds using amueller's python package... for each — confirming DLATK falls back to the open-source wordcloud (amueller) renderer rather than requiring the IBM wordcloud jar mentioned in Installation.
Other Switches
Required Switches:
Optional Switches:
Example Commands
Using the packaged dla_tutorial dataset (see Differential Language Analysis (DLA) Tutorial):
dlatkInterface.py -d dla_tutorial -t msgs -c user_id --topic_lexicon met_a30_2000_freq_t50ll \
--make_all_topic_wordclouds --output_name ./all_topics