--num_topic_words
Switch
--num_topic_words N
Description
Number of top words to use as the label for each topic, in topic tagclouds and topic label maps.
Argument and Default Value
An integer. Default: 15 (dlac.DEF_MAX_TOP_TC_WORDS).
Details
Used in several places: --topic_tagcloud/--corp_topic_tagcloud output (maxWords), --make_topic_labelmap_lex (FeatureRefiner.makeTopicLabelMap(topiclexicon, numtopicwords, weightedlexicon)), and topic wordcloud rendering (wordcloud.makeLexiconTopicWordclouds(..., max_words=...)).
Other Switches
Optional Switches:
Example Commands
dlatkInterface.py -d dla_tutorial -t msgs -c user_id -f 'feat$cat_met_a30_2000_cp_w$msgs$user_id$16to16' \
--outcome_table blog_outcomes --outcomes age --topic_tagcloud --topic_lexicon met_a30_2000_freq_t50ll --num_topic_words 10