--topic_lexicon

Switch

--topic_lexicon

Description

Specifies lexicon with appropriately-ranked topics when creating --topic_tagcloud or --make_topic_wordclouds.

Argument and Default Value

Argument: lexicon name

Details

Generally, these lexica will end with _freq_t50ll-- they are frequency ranked, thresholded at 50, log likelihood.

Other Switches

Required Switches: --topic_tagcloud Optional Switches: None

Example Commands

Using the packaged dla_tutorial dataset (see Differential Language Analysis (DLA) Tutorial):

dlatkInterface.py -d dla_tutorial -t msgs -c user_id --group_freq_thresh 500 \
-f 'feat$cat_met_a30_2000_cp_w$msgs$user_id$16to16' --outcome_table blog_outcomes --outcomes age \
--correlate --p_correction simes --topic_tagcloud --make_topic_wordclouds \
--topic_lexicon met_a30_2000_freq_t50ll --output_name ./output