--clean_cloud

Switch

--clean_cloud

Description

Censors profanity/slurs in tagcloud output by replacing their middle characters with *** (e.g. f**k).

Argument and Default Value

No argument. Boolean switch, default: False.

Details

Passed as cleanCloud into oa.printTagCloudData() / oa.printTopicTagCloudData() / wordcloud.makeLexiconTopicWordclouds() — applies to --tagcloud, --topic_tagcloud, and --corp_topic_tagcloud alike.

Other Switches

Required Switches:

Example Commands

dlatkInterface.py -d dla_tutorial -t msgs -c user_id -f 'feat$1gram$msgs$user_id$16to16' \
--outcome_table blog_outcomes --outcomes age --tagcloud --clean_cloud --make_wordclouds